diff options
author | Laxminath Kasam <lkasam@codeaurora.org> | 2016-05-03 14:06:49 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-20 17:37:51 -0800 |
commit | 3f9f0d6821f9d976823a310191e3732fa7768481 (patch) | |
tree | 0db4654f37e93387205c956e2eae81e77238e639 /sound | |
parent | c0a8f9e80a88354a7e2271a5cb61c61ac76a8818 (diff) |
ASoC: wcd9335: Fix compander disable after SSR
After SSR, observe tones heard with high volume.
compander and hph_mode mixer controls are reset
in post reset callback which will not be in
sync with userspace settings. Avoid reset of
compander and hph_mode controls in post reset
callback.
CRs-Fixed: 1010471
Change-Id: Iacb3e27a35027037613e82e483b10b635d492a75
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wcd9335.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c index 71858e268232..85a88bdebe10 100644 --- a/sound/soc/codecs/wcd9335.c +++ b/sound/soc/codecs/wcd9335.c @@ -13441,8 +13441,6 @@ static int tasha_post_reset_cb(struct wcd9xxx *wcd9xxx) /* Class-H Init*/ wcd_clsh_init(&tasha->clsh_d); - /* Default HPH Mode to Class-H HiFi */ - tasha->hph_mode = CLS_H_HIFI; for (i = 0; i < TASHA_MAX_MICBIAS; i++) tasha->micb_ref[i] = 0; @@ -13450,8 +13448,6 @@ static int tasha_post_reset_cb(struct wcd9xxx *wcd9xxx) tasha_update_reg_defaults(tasha); tasha->codec = codec; - for (i = 0; i < COMPANDER_MAX; i++) - tasha->comp_enabled[i] = 0; dev_dbg(codec->dev, "%s: MCLK Rate = %x\n", __func__, control->mclk_rate); |