* [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
@ 2018-08-14 9:57 Hans de Goede
2018-08-14 10:25 ` Arnd Bergmann
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Hans de Goede @ 2018-08-14 9:57 UTC (permalink / raw)
To: Marcel Holtmann, Johan Hedberg, Martin Blumenstingl
Cc: Hans de Goede, Jeremy Cline, linux-bluetooth, linux-serial,
linux-acpi, Arnd Bergmann
At the moment we only support ACPI enumeration for serial port attached
RTL bluetooth controllers.
This commit adds a dependency on ACPI to the BT_HCIUART_RTL configuration
option, fixing the following warning when ACPI is not enabled:
drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used
Cc: Arnd Bergmann <arnd@arndb.de>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/bluetooth/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
index 933eb90d1ce2..709ed3f7dfe8 100644
--- a/drivers/bluetooth/Kconfig
+++ b/drivers/bluetooth/Kconfig
@@ -200,6 +200,7 @@ config BT_HCIUART_RTL
depends on BT_HCIUART
depends on BT_HCIUART_SERDEV
depends on GPIOLIB
+ depends on ACPI
select BT_HCIUART_3WIRE
select BT_RTL
help
--
2.18.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
2018-08-14 9:57 [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI Hans de Goede
@ 2018-08-14 10:25 ` Arnd Bergmann
2018-08-14 10:36 ` Marcel Holtmann
2018-08-20 20:54 ` Geert Uytterhoeven
2018-08-21 14:37 ` Marcel Holtmann
2 siblings, 1 reply; 6+ messages in thread
From: Arnd Bergmann @ 2018-08-14 10:25 UTC (permalink / raw)
To: Hans de Goede
Cc: Marcel Holtmann, Johan Hedberg, Martin Blumenstingl, Jeremy Cline,
Bluez mailing list, linux-serial, ACPI Devel Maling List
On Tue, Aug 14, 2018 at 11:57 AM Hans de Goede <hdegoede@redhat.com> wrote:
>
> At the moment we only support ACPI enumeration for serial port attached
> RTL bluetooth controllers.
>
> This commit adds a dependency on ACPI to the BT_HCIUART_RTL configuration
> option, fixing the following warning when ACPI is not enabled:
>
> drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used
>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This fixes the warning,
Acked-by: Arnd Bergmann <arnd@arndb.de>
I wonder whether CONFIG_BT_HCIUART_3WIRE should also
depend on ACPI and/or become a silent option, since it's currently
useless when either ACPI or BT_HCIUART_RTL are disabled,
and it seems possible that things break differently when another
back-end gets added there.
Arnd
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
2018-08-14 10:25 ` Arnd Bergmann
@ 2018-08-14 10:36 ` Marcel Holtmann
2018-08-14 11:01 ` Arnd Bergmann
0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2018-08-14 10:36 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Hans de Goede, Johan Hedberg, Martin Blumenstingl, Jeremy Cline,
Bluez mailing list, linux-serial, ACPI Devel Maling List
Hi Arnd,
>> At the moment we only support ACPI enumeration for serial port attached
>> RTL bluetooth controllers.
>>
>> This commit adds a dependency on ACPI to the BT_HCIUART_RTL configuration
>> option, fixing the following warning when ACPI is not enabled:
>>
>> drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used
>>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Reported-by: Arnd Bergmann <arnd@arndb.de>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> This fixes the warning,
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> I wonder whether CONFIG_BT_HCIUART_3WIRE should also
> depend on ACPI and/or become a silent option, since it's currently
> useless when either ACPI or BT_HCIUART_RTL are disabled,
> and it seems possible that things break differently when another
> back-end gets added there.
why would it be useless? There is still a line discipline mode that it can be used for. Moving this all to the new bt3wire.c driver would have been cleaner and less Kconfig messy.
Regards
Marcel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
2018-08-14 10:36 ` Marcel Holtmann
@ 2018-08-14 11:01 ` Arnd Bergmann
0 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2018-08-14 11:01 UTC (permalink / raw)
To: Marcel Holtmann
Cc: Hans de Goede, Johan Hedberg, Martin Blumenstingl, Jeremy Cline,
Bluez mailing list, linux-serial, ACPI Devel Maling List
On Tue, Aug 14, 2018 at 12:36 PM Marcel Holtmann <marcel@holtmann.org> wrote:
>
> Hi Arnd,
>
> >> At the moment we only support ACPI enumeration for serial port attached
> >> RTL bluetooth controllers.
> >>
> >> This commit adds a dependency on ACPI to the BT_HCIUART_RTL configuration
> >> option, fixing the following warning when ACPI is not enabled:
> >>
> >> drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used
> >>
> >> Cc: Arnd Bergmann <arnd@arndb.de>
> >> Reported-by: Arnd Bergmann <arnd@arndb.de>
> >> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> >
> > This fixes the warning,
> >
> > Acked-by: Arnd Bergmann <arnd@arndb.de>
> >
> > I wonder whether CONFIG_BT_HCIUART_3WIRE should also
> > depend on ACPI and/or become a silent option, since it's currently
> > useless when either ACPI or BT_HCIUART_RTL are disabled,
> > and it seems possible that things break differently when another
> > back-end gets added there.
>
> why would it be useless? There is still a line discipline mode that it can be used for.
Ah, I see. It's all fine then.
Arnd
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
2018-08-14 9:57 [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI Hans de Goede
2018-08-14 10:25 ` Arnd Bergmann
@ 2018-08-20 20:54 ` Geert Uytterhoeven
2018-08-21 14:37 ` Marcel Holtmann
2 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2018-08-20 20:54 UTC (permalink / raw)
To: Hans de Goede
Cc: Marcel Holtmann, Johan Hedberg, Martin Blumenstingl, jeremy,
BlueZ development, open list:SERIAL DRIVERS,
ACPI Devel Maling List, Arnd Bergmann
On Tue, Aug 14, 2018 at 12:01 PM Hans de Goede <hdegoede@redhat.com> wrote:
> At the moment we only support ACPI enumeration for serial port attached
> RTL bluetooth controllers.
>
> This commit adds a dependency on ACPI to the BT_HCIUART_RTL configuration
> option, fixing the following warning when ACPI is not enabled:
>
> drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used
>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI
2018-08-14 9:57 [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI Hans de Goede
2018-08-14 10:25 ` Arnd Bergmann
2018-08-20 20:54 ` Geert Uytterhoeven
@ 2018-08-21 14:37 ` Marcel Holtmann
2 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2018-08-21 14:37 UTC (permalink / raw)
To: Hans de Goede
Cc: Johan Hedberg, Martin Blumenstingl, Jeremy Cline, linux-bluetooth,
linux-serial, linux-acpi, Arnd Bergmann
Hi Hans,
> At the moment we only support ACPI enumeration for serial port attached
> RTL bluetooth controllers.
>
> This commit adds a dependency on ACPI to the BT_HCIUART_RTL configuration
> option, fixing the following warning when ACPI is not enabled:
>
> drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used
>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> drivers/bluetooth/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
patch has been applied bluetooth-stable tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-08-21 14:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-14 9:57 [PATCH] Bluetooth: Make BT_HCIUART_RTL configuration option depend on ACPI Hans de Goede
2018-08-14 10:25 ` Arnd Bergmann
2018-08-14 10:36 ` Marcel Holtmann
2018-08-14 11:01 ` Arnd Bergmann
2018-08-20 20:54 ` Geert Uytterhoeven
2018-08-21 14:37 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox