aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/Kconfig2
-rw-r--r--sound/soc/codecs/wl1273.c11
2 files changed, 9 insertions, 4 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index c48b23c1d4fc..9726d6e5e927 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -44,7 +44,7 @@ config SND_SOC_ALL_CODECS
44 select SND_SOC_TWL6040 if TWL4030_CORE 44 select SND_SOC_TWL6040 if TWL4030_CORE
45 select SND_SOC_UDA134X 45 select SND_SOC_UDA134X
46 select SND_SOC_UDA1380 if I2C 46 select SND_SOC_UDA1380 if I2C
47 select SND_SOC_WL1273 if RADIO_WL1273 47 select SND_SOC_WL1273 if MFD_WL1273_CORE
48 select SND_SOC_WM2000 if I2C 48 select SND_SOC_WM2000 if I2C
49 select SND_SOC_WM8350 if MFD_WM8350 49 select SND_SOC_WM8350 if MFD_WM8350
50 select SND_SOC_WM8400 if MFD_WM8400 50 select SND_SOC_WM8400 if MFD_WM8400
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c
index 861b28f543d2..5836201834d9 100644
--- a/sound/soc/codecs/wl1273.c
+++ b/sound/soc/codecs/wl1273.c
@@ -3,7 +3,7 @@
3 * 3 *
4 * Author: Matti Aaltonen, <matti.j.aaltonen@nokia.com> 4 * Author: Matti Aaltonen, <matti.j.aaltonen@nokia.com>
5 * 5 *
6 * Copyright: (C) 2010 Nokia Corporation 6 * Copyright: (C) 2010, 2011 Nokia Corporation
7 * 7 *
8 * This program is free software; you can redistribute it and/or 8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License 9 * modify it under the terms of the GNU General Public License
@@ -179,7 +179,12 @@ static int snd_wl1273_get_audio_route(struct snd_kcontrol *kcontrol,
179 return 0; 179 return 0;
180} 180}
181 181
182static const char *wl1273_audio_route[] = { "Bt", "FmRx", "FmTx" }; 182/*
183 * TODO: Implement the audio routing in the driver. Now this control
184 * only indicates the setting that has been done elsewhere (in the user
185 * space).
186 */
187static const char * const wl1273_audio_route[] = { "Bt", "FmRx", "FmTx" };
183 188
184static int snd_wl1273_set_audio_route(struct snd_kcontrol *kcontrol, 189static int snd_wl1273_set_audio_route(struct snd_kcontrol *kcontrol,
185 struct snd_ctl_elem_value *ucontrol) 190 struct snd_ctl_elem_value *ucontrol)
@@ -239,7 +244,7 @@ static int snd_wl1273_fm_audio_put(struct snd_kcontrol *kcontrol,
239 return 1; 244 return 1;
240} 245}
241 246
242static const char *wl1273_audio_strings[] = { "Digital", "Analog" }; 247static const char * const wl1273_audio_strings[] = { "Digital", "Analog" };
243 248
244static const struct soc_enum wl1273_audio_enum = 249static const struct soc_enum wl1273_audio_enum =
245 SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(wl1273_audio_strings), 250 SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(wl1273_audio_strings),