summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorManoj Gangwal <mgangwal@nvidia.com>2012-03-05 15:00:09 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-23 16:07:21 -0700
commitc63a3400a61a895018ca1a0b8bc2a9b067112fd3 (patch)
tree5c844b931975fd99e7151eb971568c663e6d44b5 /sound
parentb9afc4b009622e6719533fb6f7a6bf1119385c35 (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> Rebase-Id: R31b37e4234650f37f0a2501bdaae1aa185ae533b
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5639.c2
-rw-r--r--sound/soc/codecs/rt5640.c3
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),