ASoC: codecs: aw88399: fix typo in Kconfig select
authorArnd Bergmann <arnd@arndb.de>
Fri, 27 Oct 2023 15:23:53 +0000 (17:23 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 27 Oct 2023 16:37:32 +0000 (17:37 +0100)
commitcf046ecbcd1cd0ef1d762b3365b9918175e121ab
treec6a197d9666741d7ec0f5a298a159e66f011b48a
parent0b38362018c79bc6cf9d8ba4ee9a2a3827ba6328
ASoC: codecs: aw88399: fix typo in Kconfig select

The aw88395_lib module is shared by all the aw883* drivers that
need to select the corresponding Kconfig symbol. The newly added
aw88399 incorrectly selects SND_SOC_AW88399_LIB instead, which
is not defined anywhere in the kernel, causing a link failure when
the actual one is missing:

arm-linux-gnueabi-ld: sound/soc/codecs/aw88399.o: in function `aw88399_codec_probe':
aw88399.c:(.text+0xbc6): undefined reference to `aw88395_dev_load_acf_check'
arm-linux-gnueabi-ld: aw88399.c:(.text+0xbea): undefined reference to `aw88395_dev_cfg_load'

Fixes: 8ade6cc7e261 ("ASoC: codecs: Add aw88399 amplifier driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20231027152403.386257-2-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig