]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:19:23 +0000 (15:19 +0200)
commite1b92b5a8f4f59143fb17495e136479bba521db4
tree775f55fb6092d0c7ea8141683c5cf528f898a1f7
parent50f3f0579ae0bc38f644af7eea56e0f5467bb13d
ASoC: madera: Add dependencies on MFD

BugLink: https://bugs.launchpad.net/bugs/1971497
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/soc/codecs/Kconfig