]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: madera: Add dependencies on MFD
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 3 Feb 2022 11:50:25 +0000 (11:50 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 3 Feb 2022 13:09:32 +0000 (13:09 +0000)
commita1568afa5aae5749f5200a0102bb9b73b9109ebe
tree4fdfe67c5944e7ea955f718c6562948d1d8009c9
parente63af94d1906ad50e9ded187330bdc349900c917
ASoC: madera: Add dependencies on MFD

The Madera CODECs use regmap_irq functions but nothing ensures that
regmap_irq is built into the kernel. Add dependencies on the ASoC
symbols for the relevant MFD component. There is no point in building
the ASoC driver if the MFD doesn't support it and the MFD part contains
the necessary dependencies to ensure everything is built into the
kernel.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220203115025.16464-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig