[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201002152904.16448-1-olivier.moysan@st.com>
Date: Fri, 2 Oct 2020 17:29:04 +0200
From: Olivier Moysan <olivier.moysan@...com>
To: <lgirdwood@...il.com>, <broonie@...nel.org>, <perex@...ex.cz>,
<tiwai@...e.com>, <alexandre.torgue@...com>,
<olivier.moysan@...com>, <arnaud.patard@...-net.org>
CC: <alsa-devel@...a-project.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 1/1] ASoC: cs42l51: add soft dependency declaration
When configured as module, CS42L51 codec driver uses two modules
snd-soc-cs42l51 and snd-soc-cs42l51-i2c.
Add soft dependency on snd-soc-cs42l51-i2c in snd-soc-cs42l51,
to allow smart module dependency solving.
Signed-off-by: Olivier Moysan <olivier.moysan@...com>
---
sound/soc/codecs/cs42l51.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c
index 097c4e8d9950..1630baad42e2 100644
--- a/sound/soc/codecs/cs42l51.c
+++ b/sound/soc/codecs/cs42l51.c
@@ -814,4 +814,5 @@ EXPORT_SYMBOL_GPL(cs42l51_of_match);
MODULE_AUTHOR("Arnaud Patard <arnaud.patard@...-net.org>");
MODULE_DESCRIPTION("Cirrus Logic CS42L51 ALSA SoC Codec Driver");
+MODULE_SOFTDEP("pre: snd-soc-cs42l51-i2c");
MODULE_LICENSE("GPL");
--
2.17.1
Powered by blists - more mailing lists