diff options
Diffstat (limited to 'sound/soc/codecs/wm8904.c')
-rw-r--r-- | sound/soc/codecs/wm8904.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 53bbfac6a83a..b2664ec901b9 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c | |||
@@ -1981,7 +1981,7 @@ static void wm8904_handle_retune_mobile_pdata(struct snd_soc_codec *codec) | |||
1981 | dev_dbg(codec->dev, "Allocated %d unique ReTune Mobile names\n", | 1981 | dev_dbg(codec->dev, "Allocated %d unique ReTune Mobile names\n", |
1982 | wm8904->num_retune_mobile_texts); | 1982 | wm8904->num_retune_mobile_texts); |
1983 | 1983 | ||
1984 | wm8904->retune_mobile_enum.max = wm8904->num_retune_mobile_texts; | 1984 | wm8904->retune_mobile_enum.items = wm8904->num_retune_mobile_texts; |
1985 | wm8904->retune_mobile_enum.texts = wm8904->retune_mobile_texts; | 1985 | wm8904->retune_mobile_enum.texts = wm8904->retune_mobile_texts; |
1986 | 1986 | ||
1987 | ret = snd_soc_add_codec_controls(codec, &control, 1); | 1987 | ret = snd_soc_add_codec_controls(codec, &control, 1); |
@@ -2022,7 +2022,7 @@ static void wm8904_handle_pdata(struct snd_soc_codec *codec) | |||
2022 | for (i = 0; i < pdata->num_drc_cfgs; i++) | 2022 | for (i = 0; i < pdata->num_drc_cfgs; i++) |
2023 | wm8904->drc_texts[i] = pdata->drc_cfgs[i].name; | 2023 | wm8904->drc_texts[i] = pdata->drc_cfgs[i].name; |
2024 | 2024 | ||
2025 | wm8904->drc_enum.max = pdata->num_drc_cfgs; | 2025 | wm8904->drc_enum.items = pdata->num_drc_cfgs; |
2026 | wm8904->drc_enum.texts = wm8904->drc_texts; | 2026 | wm8904->drc_enum.texts = wm8904->drc_texts; |
2027 | 2027 | ||
2028 | ret = snd_soc_add_codec_controls(codec, &control, 1); | 2028 | ret = snd_soc_add_codec_controls(codec, &control, 1); |