Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp530155ybl; Thu, 12 Dec 2019 23:56:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzfWTPdbUnEYidITk6VNrw3OVxjcjmpWeGKLZIjcrUUDivEPC3wmGSwFx4UfShW1XmLohyV X-Received: by 2002:a05:6830:18d7:: with SMTP id v23mr12642057ote.213.1576223798827; Thu, 12 Dec 2019 23:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576223798; cv=none; d=google.com; s=arc-20160816; b=B2Q0tt4TpEGGsQzhIB4OifLHF/uvx9CW6qfnmWxV8BcuzWVdD4kU5AXKobR03LI1l6 UEcNOleK4EZcHe1P3AMrD/LBLPEdqoS3adUfO0srWn+I0tlClk9JlH89ecW+zPQITz9P UaVaCNokCXBORZxIo6jpPYmD+bW/k1oLPdJzpXRCCM1fTIDiPeUg6q3H92lIhqRUhblB ODWep4g6XtPnmr2Ggo3deQH9mQrwdHt2Y4sfiKqlu9QleCWkSEYvUTz2KLiNrSDYXXEY cPNIGEfjikp21tNfofa5kIvuYmDrUSWEx9kO3aloZs0K5KUaZXYNseMOkpduqmV22iff cyJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=QD7QsIrkRNBnfuryHDGg+Nzio2/SVf7piStgkJQ6XFM=; b=cD0q6abJtrnPRJq1Z/QDrmNPc95OGcNyipbMXKhubiKsxnYtMylbfjd0GdqNICcKVt q++2J4gaAyzR+ex1FWpp0T0UDOQqe8leFOIxHSvhKNRXgj+RgN93WseBbTU0aGEKQ9YS t7+sbMxAXTJL+kxDvbiNKiDdUiVrKceEUpk00h8p81pJKTeqyYMOzrFj35+h3RS24g4d R8mULPVesnYWnKd+5/GZgDL3G1HoZI/JYen9NpF5zQaP0NrLFaPh0icQUEAgoSgoOm42 1I+pq1d/fQ2rBbj8UOfnlV6tBgHvGY5d19lAMgWzIcrBhUZvFS9W51BKjAQdHmAqHXjf z+FQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si5570574otk.219.2019.12.12.23.56.21; Thu, 12 Dec 2019 23:56:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725793AbfLMH4T (ORCPT + 99 others); Fri, 13 Dec 2019 02:56:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:49068 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725468AbfLMH4T (ORCPT ); Fri, 13 Dec 2019 02:56:19 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 278DFAC4D; Fri, 13 Dec 2019 07:56:17 +0000 (UTC) Message-ID: <8b5f4ed5fd341d279a25e4ad94b751c61cd3a4de.camel@suse.de> Subject: Re: [PATCH v3] bluetooth: hci_bcm: enable IRQ capability from node From: Nicolas Saenz Julienne To: guillaume La Roque , Marcel Holtmann Cc: Johan Hedberg , BlueZ , lkml , khilman@baylibre.com, linux-rpi-kernel Date: Fri, 13 Dec 2019 08:56:16 +0100 In-Reply-To: <3f4aaa42-59fb-b7d2-0e5d-d799d90cab0a@baylibre.com> References: <20191211094923.20220-1-glaroque@baylibre.com> <0CF02341-CF69-4680-B61F-DC5C0702F1A2@holtmann.org> <3f4aaa42-59fb-b7d2-0e5d-d799d90cab0a@baylibre.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-2Fr8xhQBje9kaHYBFIhM" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --=-2Fr8xhQBje9kaHYBFIhM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > > > diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bc= m.c > > > > index f8f5c593a05c..9f52d57c56de 100644 > > > > --- a/drivers/bluetooth/hci_bcm.c > > > > +++ b/drivers/bluetooth/hci_bcm.c > > > > @@ -1409,6 +1409,7 @@ static int bcm_serdev_probe(struct serdev_dev= ice > > > > *serdev) > > > > { > > > > struct bcm_device *bcmdev; > > > > const struct bcm_device_data *data; > > > > + struct platform_device *pdev; > > > > int err; > > > >=20 > > > > bcmdev =3D devm_kzalloc(&serdev->dev, sizeof(*bcmdev), > > > > GFP_KERNEL); > > > > @@ -1421,6 +1422,8 @@ static int bcm_serdev_probe(struct serdev_dev= ice > > > > *serdev) > > > > #endif > > > > bcmdev->serdev_hu.serdev =3D serdev; > > > > serdev_device_set_drvdata(serdev, bcmdev); > > > > + pdev =3D to_platform_device(bcmdev->dev); > > > Ultimately bcmdev->dev here comes from a serdev device not a platform > > > device, > > > right? > > I was afraid of this, but then nobody spoke up. Can we fix this or shou= ld I > > just revert the patch? >=20 > sorry about that, i will provide a fix as soon as possible but i have no = pi4 > to validate on it so i will add no in cc nicolas and if you can give me a > feedback i will appreciate . Thanks, I will :) Regards, Nicolas --=-2Fr8xhQBje9kaHYBFIhM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl3zRCAACgkQlfZmHno8 x/4O5wf/S3T5ZtghqcIHN9ZUNBqo4r2BMbKhz5gQKmqgnQYQzvnkZ6j4o267rTD2 JVT5KeL91NHcqlw/SOFG4x7JbChz8uX6JjDQ1djXG4K4vOi1KssJKMKb8x3RmCWJ QUOzLwPSSlT9ZkTRp/b0rOyeLDVrT3ZwCcU4U0QVl9F/M5D53i0oDc9/beEZuNWG 4yqMsSN5uGkI0rjw/iv/Tg8ZI+kmCNID7cbi0WzkYtjDvQmrNDBnaZqp/e7vKGRn lM4PMkzGCEAd8EO9PJ4Ur2NA7unX08m0bFUFhV7/srAQAmf8kzwA5TonU5J+mKMS patEbFtwpznGBM8QFnXji1deXIqqtQ== =efmf -----END PGP SIGNATURE----- --=-2Fr8xhQBje9kaHYBFIhM--