diff mbox

ASoC: Allow SND_SOC_WM8978 to be selected manually

Message ID 1409230104-22750-1-git-send-email-geert+renesas@glider.be (mailing list archive)
State Accepted
Commit 77c545398e33a0263a68142fcfbd4b11b0f06294
Headers show

Commit Message

Geert Uytterhoeven Aug. 28, 2014, 12:48 p.m. UTC
When using a DT-based multi-platform kernel, there's not always Kconfig
logic that selects the right codec driver.
Allow the user to manually select WM8978.

This is needed for Armadillo 800 EVA using a generic r8a7740 multi-platform
kernel.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 sound/soc/codecs/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Mark Brown Aug. 28, 2014, 3:01 p.m. UTC | #1
On Thu, Aug 28, 2014 at 02:48:24PM +0200, Geert Uytterhoeven wrote:
> When using a DT-based multi-platform kernel, there's not always Kconfig
> logic that selects the right codec driver.
> Allow the user to manually select WM8978.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 7678122f8fe0..8ab154756934 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -731,7 +731,8 @@  config SND_SOC_WM8974
 	tristate
 
 config SND_SOC_WM8978
-	tristate
+	tristate "Wolfson Microelectronics WM8978 codec"
+	depends on I2C
 
 config SND_SOC_WM8983
 	tristate