]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:06:38 +0000 (14:06 +0200)
commitdfc9bafe5ec4a86f350a7c4bdbf03275a3968dd1
treec8678c8218ec251c553ba3113eb6c29ae338bc37
parentfbd93018756f5304d66895be207718a376579f2b
ASoC: madera: Add dependencies on MFD

[ Upstream commit ec29170c724ca30305fc3a19ba2ee73ecac65509 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/Kconfig