ALSA: ASoC: wm9713: correct mono out PGA sources
Subsystems (3)
PATCH 1/1 ALSA: ASoC: wm9713: correct mono out PGA sources
The mono output PGA input only has four possible sources, so omit the rest.
Signed-off-by Matt Reimer <[email protected]>
--- sound/soc/codecs/wm9713.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
sound/soc/codecs/wm9713.c +1 -2
@@ -74,8 +74,7 @@ static const char *wm9713_rec_src[] = "Mono Out", "Zh"};static const char *wm9713_rec_gain[] = {"+1.5dB Steps" ,"+0.75dB Steps" };static const char *wm9713_alc_select[] = {"None" ,"Left" ,"Right" ,"Stereo" }; -static const char *wm9713_mono_pga[] = {"Vmid" ,"Zh" ,"Mono" ,"Inv" , -"Mono Vmid" ,"Inv Vmid" }; +static const char *wm9713_mono_pga[] = {"Vmid" ,"Zh" ,"Mono" ,"Inv" };static const char *wm9713_spk_pga[] = {"Vmid" ,"Zh" ,"Headphone" ,"Speaker" ,"Inv" ,"Headphone Vmid" ,"Speaker Vmid" ,"Inv Vmid" };
Signature · 1 line
1.7.5.4
PATCH 1/1 ALSA: ASoC: wm9713: correct mono out PGA sources
The mono output PGA input only has four possible sources, so omit the rest.
Signed-off-by Matt Reimer <[email protected]>
--- sound/soc/codecs/wm9713.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
sound/soc/codecs/wm9713.c +1 -2
@@ -74,8 +74,7 @@ static const char *wm9713_rec_src[] = "Mono Out", "Zh"};static const char *wm9713_rec_gain[] = {"+1.5dB Steps" ,"+0.75dB Steps" };static const char *wm9713_alc_select[] = {"None" ,"Left" ,"Right" ,"Stereo" }; -static const char *wm9713_mono_pga[] = {"Vmid" ,"Zh" ,"Mono" ,"Inv" , -"Mono Vmid" ,"Inv Vmid" }; +static const char *wm9713_mono_pga[] = {"Vmid" ,"Zh" ,"Mono" ,"Inv" };static const char *wm9713_spk_pga[] = {"Vmid" ,"Zh" ,"Headphone" ,"Speaker" ,"Inv" ,"Headphone Vmid" ,"Speaker Vmid" ,"Inv Vmid" };
Signature · 1 line
1.7.5.4
Quoted 5 lines · Matt Reimer
The mono output PGA input only has four possible sources, so omit the rest.
Signed-off-by Matt Reimer <[email protected]>---
Acked-by Charles Keepax <[email protected]>
Thanks,
Charles
PATCH 1/1 ALSA: ASoC: wm9713: correct mono out PGA sources
In reply to Matt ReimerThe mono output PGA input only has four possible sources, so omit the rest.
Signed-off-by Matt Reimer <[email protected]>
--- sound/soc/codecs/wm9713.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
sound/soc/codecs/wm9713.c +1 -2
@@ -74,8 +74,7 @@ static const char *wm9713_rec_src[] = "Mono Out", "Zh"};static const char *wm9713_rec_gain[] = {"+1.5dB Steps" ,"+0.75dB Steps" };static const char *wm9713_alc_select[] = {"None" ,"Left" ,"Right" ,"Stereo" }; -static const char *wm9713_mono_pga[] = {"Vmid" ,"Zh" ,"Mono" ,"Inv" , -"Mono Vmid" ,"Inv Vmid" }; +static const char *wm9713_mono_pga[] = {"Vmid" ,"Zh" ,"Mono" ,"Inv" };static const char *wm9713_spk_pga[] = {"Vmid" ,"Zh" ,"Headphone" ,"Speaker" ,"Inv" ,"Headphone Vmid" ,"Speaker Vmid" ,"Inv Vmid" };
Signature · 1 line
1.7.5.4
Quoted 2 lines · Matt Reimer
The mono output PGA input only has four possible sources, so omit the rest.
Applied, thanks. Please use subject lines matching the style for the subsystem.