diff options
author | Manoj Gangwal <mgangwal@nvidia.com> | 2012-03-05 15:00:09 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-03-05 16:51:35 -0800 |
commit | 64f409397e158cead2b1c9fc72ef886e13e5f6ce (patch) | |
tree | 517998f230ff6a9219e75c1a5f94506720399eda | |
parent | d8e0b3a28736a8bed4e7b6b63b2e03225d463549 (diff) |
asoc: codecs: Fix pop noise while booting for ALC5639/40
Fix for pop noise 'cut' from internal speaker while booting
on kai board.
Bug 929049
Change-Id: I9c3fe7e05d869709f50036042e70abc91722885e
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/87685
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
-rw-r--r-- | sound/soc/codecs/rt5639.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/rt5640.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/codecs/rt5639.c b/sound/soc/codecs/rt5639.c index 74d8a318a831..139503e0d32a 100644 --- a/sound/soc/codecs/rt5639.c +++ b/sound/soc/codecs/rt5639.c @@ -657,8 +657,6 @@ static int rt5639_vol_rescale_put(struct snd_kcontrol *kcontrol, static const struct snd_kcontrol_new rt5639_snd_controls[] = { /* Speaker Output Volume */ - SOC_DOUBLE("Speaker Playback Switch", RT5639_SPK_VOL, - RT5639_L_MUTE_SFT, RT5639_R_MUTE_SFT, 1, 1), SOC_DOUBLE_EXT_TLV("Speaker Playback Volume", RT5639_SPK_VOL, RT5639_L_VOL_SFT, RT5639_R_VOL_SFT, RT5639_VOL_RSCL_RANGE, 0, rt5639_vol_rescale_get, rt5639_vol_rescale_put, out_vol_tlv), diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index dfeb1dce9d29..e3d0af02e392 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -661,9 +661,6 @@ static int rt5640_vol_rescale_put(struct snd_kcontrol *kcontrol, static const struct snd_kcontrol_new rt5640_snd_controls[] = { /* Speaker Output Volume */ - SOC_DOUBLE("Speaker Playback Switch", RT5640_SPK_VOL, - RT5640_L_MUTE_SFT, RT5640_R_MUTE_SFT, 1, 1), - SOC_DOUBLE_EXT_TLV("Speaker Playback Volume", RT5640_SPK_VOL, RT5640_L_VOL_SFT, RT5640_R_VOL_SFT, VOL_RESCALE_MIX_RANGE, 0, rt5640_vol_rescale_get, rt5640_vol_rescale_put, out_vol_tlv), |