Re: [PATCH v2 -next] ASoc: tas2770: Fix build error without GPIOLIB

2019-10-06 Thread Ladislav Michl
Hi MichaƂ, On Sun, Oct 06, 2019 at 05:31:58PM +0200, mirq-li...@rere.qmqm.pl wrote: > On Sun, Oct 06, 2019 at 06:46:31PM +0800, YueHaibing wrote: > > If GPIOLIB is not set, building fails: > > > > sound/soc/codecs/tas2770.c: In function tas2770_reset: > > sound/soc/codecs/tas2770.c:38:3: error:

Re: [PATCH v2 -next] ASoc: tas2770: Fix build error without GPIOLIB

2019-10-06 Thread mirq-linux
On Sun, Oct 06, 2019 at 06:46:31PM +0800, YueHaibing wrote: > If GPIOLIB is not set, building fails: > > sound/soc/codecs/tas2770.c: In function tas2770_reset: > sound/soc/codecs/tas2770.c:38:3: error: implicit declaration of function > gpiod_set_value_cansleep; did you mean

[PATCH v2 -next] ASoc: tas2770: Fix build error without GPIOLIB

2019-10-06 Thread YueHaibing
If GPIOLIB is not set, building fails: sound/soc/codecs/tas2770.c: In function tas2770_reset: sound/soc/codecs/tas2770.c:38:3: error: implicit declaration of function gpiod_set_value_cansleep; did you mean gpio_set_value_cansleep? [-Werror=implicit-function-declaration]