Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: [PATCH v2 01/10] Bluetooth: Depend on rather than select GPIOLIB From: Marcel Holtmann In-Reply-To: <4d4ac18f570efc6371bc44c70836bdd3ddee3902.1514916630.git.lukas@wunner.de> Date: Fri, 5 Jan 2018 19:27:08 +0100 Cc: Johan Hedberg , Mika Westerberg , Andy Shevchenko , Frederic Danis , Loic Poulain , Hans de Goede , Max Shavrick , Leif Liddy , Daniel Roschka , Ronald Tschalaer , "Peter Y. Chuang" , "open list:BLUETOOTH DRIVERS" , Linus Walleij Message-Id: <8D2574D3-0C47-4759-A0B4-BC065E746C25@holtmann.org> References: <4d4ac18f570efc6371bc44c70836bdd3ddee3902.1514916630.git.lukas@wunner.de> To: Lukas Wunner Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Lukas, > Commit 27378f4c1b92 ("Bluetooth: Avoid WARN splat due to missing > GPIOLIB") amended Kconfig to select GPIOLIB if BT_HCIUART_NOKIA, > BT_HCIUART_INTEL or BT_HCIUART_BCM is enabled since all three drivers > require it to function. > > The diagnosis was correct but the treatment was not. As stated in > Documentation/gpio/consumer.txt: > > Guidelines for GPIOs consumers > ============================== > > Drivers that can't work without standard GPIO calls should have > Kconfig entries that depend on GPIOLIB. > ^^^^^^^^^ > Fix it. > > Reported-by: Andy Shevchenko > Cc: Linus Walleij > Signed-off-by: Lukas Wunner > --- > drivers/bluetooth/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel