[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKmqyKPGtHLzyeM5optDBF79sWNvCKt=6Qn+i0sdcqgy_W3nzA@mail.gmail.com>
Date: Tue, 7 Apr 2020 19:40:26 -0700
From: Alistair Francis <alistair23@...il.com>
To: Vasily Khoruzhick <anarsoul@...il.com>
Cc: Alistair Francis <alistair@...stair23.me>,
netdev <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
"open list:BLUETOOTH DRIVERS" <linux-bluetooth@...r.kernel.org>,
Maxime Ripard <mripard@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
devicetree <devicetree@...r.kernel.org>,
arm-linux <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v2 2/3] Bluetooth: hci_h5: Add support for binding
RTL8723BS with device tree
On Mon, Apr 6, 2020 at 11:51 PM Vasily Khoruzhick <anarsoul@...il.com> wrote:
>
> On Mon, Apr 6, 2020 at 10:58 PM Alistair Francis <alistair@...stair23.me> wrote:
> >
> > From: Vasily Khoruzhick <anarsoul@...il.com>
> >
> > RTL8723BS is often used in ARM boards, so add ability to bind it
> > using device tree.
> >
> > Signed-off-by: Vasily Khoruzhick <anarsoul@...il.com>
> > Signed-off-by: Alistair Francis <alistair@...stair23.me>
> > ---
> > drivers/bluetooth/hci_h5.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
> > index 106c110efe56..b0e25a7ca850 100644
> > --- a/drivers/bluetooth/hci_h5.c
> > +++ b/drivers/bluetooth/hci_h5.c
> > @@ -1019,6 +1019,8 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
> > { .compatible = "realtek,rtl8822cs-bt",
> > .data = (const void *)&rtl_vnd },
> > #endif
> > + { .compatible = "realtek,rtl8822bs-bt",
>
> Wrong compatible? Also you probably want to keep it over #endif.
Fixed.
Alistair
>
> > + .data = (const void *)&rtl_vnd },
> > { },
> > };
> > MODULE_DEVICE_TABLE(of, rtl_bluetooth_of_match);
> > --
> > 2.25.1
> >
Powered by blists - more mailing lists