projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
236cc52
)
ASoC: Fix WM835x Out4 capture enumeration
author
Mark Brown
<
[email protected]
>
Mon, 7 Sep 2009 17:09:58 +0000
(18:09 +0100)
committer
Mark Brown
<
[email protected]
>
Mon, 7 Sep 2009 17:56:24 +0000
(18:56 +0100)
It's the 8th enum of a zero indexed array. This is why I don't let
new drivers use these arrays of enums...
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/wm8350.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8350.c
b/sound/soc/codecs/wm8350.c
index 71c9c4bb263222b1940584dfbc98d401d9caa651..3ff0373dff8904faeb2f1c522495e2c1ff32e63e 100644
(file)
--- a/
sound/soc/codecs/wm8350.c
+++ b/
sound/soc/codecs/wm8350.c
@@
-612,7
+612,7
@@
SOC_DAPM_SINGLE("Switch", WM8350_BEEP_VOLUME, 15, 1, 1);
/* Out4 Capture Mux */
static const struct snd_kcontrol_new wm8350_out4_capture_controls =
-SOC_DAPM_ENUM("Route", wm8350_enum[
8
]);
+SOC_DAPM_ENUM("Route", wm8350_enum[
7
]);
static const struct snd_soc_dapm_widget wm8350_dapm_widgets[] = {