summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wcd938x.h
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2021-06-15 16:28:29 +0300
committerMark Brown <broonie@kernel.org>2021-06-15 18:39:41 +0300
commitb90d9398d6ff6f518f352c39176450dbaf99e276 (patch)
treeb59338e85b0b3dee50a3a90ba39df273c3f2ce4e /sound/soc/codecs/wcd938x.h
parent355af6c0c09d4dd0d97fa1aca0ff797b64cd6187 (diff)
downloadlinux-b90d9398d6ff6f518f352c39176450dbaf99e276.tar.xz
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: 045442228868 ("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>
Diffstat (limited to 'sound/soc/codecs/wcd938x.h')
-rw-r--r--sound/soc/codecs/wcd938x.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/wcd938x.h b/sound/soc/codecs/wcd938x.h
index 9db3ab6e47a6..07b08de4cebf 100644
--- a/sound/soc/codecs/wcd938x.h
+++ b/sound/soc/codecs/wcd938x.h
@@ -663,11 +663,9 @@ struct wcd938x_sdw_priv {
int num_ports;
bool is_tx;
struct wcd938x_priv *wcd938x;
+ struct irq_domain *slave_irq;
};
-extern struct regmap_config wcd938x_regmap_config;
-int wcd938x_handle_sdw_irq(struct wcd938x_sdw_priv *priv);
-
#if IS_ENABLED(CONFIG_SND_SOC_WCD938X_SDW)
int wcd938x_sdw_free(struct wcd938x_sdw_priv *wcd,
struct snd_pcm_substream *substream,