OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
22b468a
)
Merge remote-tracking branch 'asoc/topic/wm8996' into asoc-next
author
Mark Brown
<broonie@linaro.org>
Fri, 8 Nov 2013 10:43:43 +0000
(10:43 +0000)
committer
Mark Brown
<broonie@linaro.org>
Fri, 8 Nov 2013 10:43:43 +0000
(10:43 +0000)
sound/soc/codecs/wm8996.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8996.c
b/sound/soc/codecs/wm8996.c
index
d666de0
..
1a7655b
100644
(file)
--- a/
sound/soc/codecs/wm8996.c
+++ b/
sound/soc/codecs/wm8996.c
@@
-438,6
+438,8
@@
static int wm8996_get_retune_mobile_enum(struct snd_kcontrol *kcontrol,
struct wm8996_priv *wm8996 = snd_soc_codec_get_drvdata(codec);
int block = wm8996_get_retune_mobile_block(kcontrol->id.name);
+ if (block < 0)
+ return block;
ucontrol->value.enumerated.item[0] = wm8996->retune_mobile_cfg[block];
return 0;