]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: Update dependencies for Arizona machine drivers
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 20 Feb 2020 12:56:54 +0000 (12:56 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 20 Feb 2020 13:53:46 +0000 (13:53 +0000)
commitb2e01b0622e479dd2885c21f3fd8e16279d5c221
treeae9b90297b43a765346ee7b6bd1cce756c61a250
parent43094585c1bc83a2913850d55e8f4f456d5891ce
ASoC: samsung: Update dependencies for Arizona machine drivers

Currently it is possible to get the following bad config:

WARNING: unmet direct dependencies detected for SND_SOC_WM5110
  Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && MFD_WM5110 [=n]

commit ddc1c80c9ab1 ("ASoC: Use imply for SND_SOC_ALL_CODECS")
commit ea25c38971c8 ("ASoC: Fix SND_SOC_ALL_CODECS imply misc fallout")

After these two patches the machine drivers still selects the
SND_SOC_WM5110 symbol which doesn't take account of the dependency
added on the MFD_WM5110 symbol, fix this by also adding a dependency on
MFD_WM5110 itself.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200220125654.7064-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/Kconfig