summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-05-05 07:21:21 +0200
committerTakashi Iwai <tiwai@suse.de>2025-05-05 12:39:23 +0200
commitf0ccc717c6c64b0762f34cd1a2072bff44859423 (patch)
treec0dd5d03364f2159e01f9ef8e2f8db8af35c0022
parent307addcc5672b0d340c0e08df5298d08c15bab75 (diff)
ALSA: hda/tas2781: select CONFIG_CRC8 for SND_HDA_SCODEC_TAS2781_I2C
The crc8 function is used by the common fmwlib module, so this has to be selected directly to avoid a link failure: ERROR: modpost: "crc8" [sound/soc/codecs/snd-soc-tas2781-fmwlib.ko] undefined! Fixes: 9fa6a693ad8d ("ALSA: hda/tas2781: Remove tas2781_spi_fwlib.c and leverage SND_SOC_TAS2781_FMWLIB") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20250505052303.1812002-1-arnd@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/soc/codecs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 2e5b03be2f209..77fb5944c6b32 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -2002,6 +2002,7 @@ config SND_SOC_TAS2781_COMLIB_I2C
config SND_SOC_TAS2781_FMWLIB
select SND_SOC_TAS2781_COMLIB
+ select CRC8
tristate
default n