diff options
author | Mark Brown <broonie@linaro.org> | 2013-11-08 05:43:43 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-08 05:43:43 -0500 |
commit | dd212bd5bb8b15889821ef79213cdb5bd47c6f85 (patch) | |
tree | 76544b0de597d75b2fad4a183f63408aba32186d /sound/soc/codecs/wm8996.c | |
parent | 22b468a06e5862c40a44798a335cb4956b78dbc0 (diff) | |
parent | fe329a1a92cfe2d0c7e04fe3bc63761dc0f35950 (diff) |
Merge remote-tracking branch 'asoc/topic/wm8996' into asoc-next
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
-rw-r--r-- | sound/soc/codecs/wm8996.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index d666de03704a..1a7655b0aa22 100644 --- 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, | |||
438 | struct wm8996_priv *wm8996 = snd_soc_codec_get_drvdata(codec); | 438 | struct wm8996_priv *wm8996 = snd_soc_codec_get_drvdata(codec); |
439 | int block = wm8996_get_retune_mobile_block(kcontrol->id.name); | 439 | int block = wm8996_get_retune_mobile_block(kcontrol->id.name); |
440 | 440 | ||
441 | if (block < 0) | ||
442 | return block; | ||
441 | ucontrol->value.enumerated.item[0] = wm8996->retune_mobile_cfg[block]; | 443 | ucontrol->value.enumerated.item[0] = wm8996->retune_mobile_cfg[block]; |
442 | 444 | ||
443 | return 0; | 445 | return 0; |