ASoC: wm8994: Add depends on MFD core
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 6 Jan 2025 15:46:39 +0000 (15:46 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jan 2025 11:58:29 +0000 (11:58 +0000)
The ASoC driver should not be used without the MFD component. This was
causing randconfig issues with regmap IRQ which is selected by the MFD
part of the wm8994 driver.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501061337.R0DlBUoD-lkp@intel.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250106154639.3999553-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 0f2df7c..0b9e87d 100644 (file)
@@ -2451,6 +2451,7 @@ config SND_SOC_WM8993
 
 config SND_SOC_WM8994
        tristate
+       depends on MFD_WM8994
 
 config SND_SOC_WM8995
        tristate