From: Johan Hedberg <johan.hedberg@gmail.com>
To: Hans de Goede <hdegoede@redhat.com>,
Marcel Holtmann <marcel@holtmann.org>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Jeremy Cline <jeremy@jcline.org>,
linux-bluetooth@vger.kernel.org, linux-serial@vger.kernel.org,
linux-acpi@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: hci_h5: Add Kconfig dependencies on SERDEV and GPIOLIB
Date: Wed, 8 Aug 2018 13:07:03 +0300 [thread overview]
Message-ID: <20180808100703.GA25042@x1c.lan> (raw)
In-Reply-To: <20180808094711.GA23325@x1c.lan>
Hi Hans,
On Wed, Aug 08, 2018, Johan Hedberg wrote:
> On Wed, Aug 08, 2018, Hans de Goede wrote:
> > diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
> > index f3c643a0473c..8969d3d5d86c 100644
> > --- a/drivers/bluetooth/Kconfig
> > +++ b/drivers/bluetooth/Kconfig
> > @@ -159,6 +159,8 @@ config BT_HCIUART_LL
> > config BT_HCIUART_3WIRE
> > bool "Three-wire UART (H5) protocol support"
> > depends on BT_HCIUART
> > + depends on BT_HCIUART_SERDEV
> > + depends on GPIOLIB
> > help
> > The HCI Three-wire UART Transport Layer makes it possible to
> > user the Bluetooth HCI over a serial port interface. The HCI
>
> The missing BT_HCIUART_SERDEV is already fixed in bluetooth-next.
> Please send an updated patch for the GPIOLIB however.
Actually the GPIOLIB dependency is related to BT_RTL usage, if I
understand the code right. There's much more to be fixed though:
currently all "btrtl" code in hci_h5.c is unconditionally compiled in,
which it shouldn't be (it should depend on BT_RTL). There should
probably be a similar Kconfig option to select BT_RTL for
BT_HCIUART_3WIRE like there is for btusb with BT_HCIBTUSB_RTL.
Would you, or perhaps Jeremy (who introduced this code) be willing to
submit a patch for it? We need to get this fixed for the last 4.19
bluetooth-next pull request, which is due this week.
Johan
next prev parent reply other threads:[~2018-08-08 10:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 8:48 [PATCH] Bluetooth: hci_h5: Add Kconfig dependencies on SERDEV and GPIOLIB Hans de Goede
2018-08-08 9:47 ` Johan Hedberg
2018-08-08 10:07 ` Johan Hedberg [this message]
2018-08-08 14:08 ` Marcel Holtmann
2018-08-08 14:41 ` Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180808100703.GA25042@x1c.lan \
--to=johan.hedberg@gmail.com \
--cc=hdegoede@redhat.com \
--cc=jeremy@jcline.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=martin.blumenstingl@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.