]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: wcd938x: remove incorrect module interdependency
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 15 Jun 2021 13:28:29 +0000 (14:28 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 15 Jun 2021 15:39:41 +0000 (16:39 +0100)
commitb9f13c3129127ade61f73890c589865f4158d033
treeb59338e85b0b3dee50a3a90ba39df273c3f2ce4e
parent73ed8daaed2c3b1d91ab5ad49273b6aeb2d61ab5
ASoC: codecs: wcd938x: remove incorrect module interdependency

For some reason we ended up with cyclic dependency between snd_soc_wcd938x
and snd_soc_wcd938x_sdw modules.

Remove this cyclic dependency by handling them in respective modules.
Without this below error is reported during make modules_install

depmod: ERROR: Cycle detected: snd_soc_wcd938x -> snd_soc_wcd938x_sdw -> snd_soc_wcd938x
depmod: ERROR: Found 2 modules in dependency cycles!

Fixes: 27fd168fa038 ("ASoC: codecs: wcd938x: add audio routing and Kconfig")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210615132829.23067-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd938x-sdw.c
sound/soc/codecs/wcd938x.c
sound/soc/codecs/wcd938x.h