Re: [PATCH v1 1/1] ASoC: soc-jack: Get rid of legacy GPIO support

From: Mark Brown
Date: Mon Mar 25 2024 - 12:18:23 EST


On Mon, Mar 18, 2024 at 10:25:16PM +0200, Andy Shevchenko wrote:
> No more users.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> include/sound/soc-jack.h | 2 --
>
> If I am not mistaken, after
> https://lore.kernel.org/r/20240318200804.181516-1-andriy.shevchenko@xxxxxxxxxxxxxxx
> there is no more users. Hence the above is the only dependency.

You are mistaken, please try compile tests:

/build/stage/linux/sound/soc/generic/simple-card-utils.c: In function ‘simple_util_init_jack’:
/build/stage/linux/sound/soc/generic/simple-card-utils.c:755:20: error: ‘struct snd_soc_jack_gpio’ has no member named ‘gpio’
755 | sjack->gpio.gpio = -ENOENT;
| ^

(this is among other things in x86 allmodconfig).

Attachment: signature.asc
Description: PGP signature