mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
ASoC: wcd9335: reset the clsh counters after SSR
After SSR when the clsh registers and state are reset, all the counters linked to those states should be reset as well, otherwise it can result in no sound issue. CRs-fixed: 896210 Change-Id: I395801beee5e5c0d5063df14aa21ebc9c9a5a613 Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
This commit is contained in:
parent
83da14f9f8
commit
646f698002
1 changed files with 3 additions and 0 deletions
|
@ -789,6 +789,9 @@ void wcd_clsh_init(struct wcd_clsh_cdc_data *clsh)
|
|||
wcd_clsh_set_int_mode(clsh, WCD_CLSH_STATE_HPHL, CLS_NONE);
|
||||
wcd_clsh_set_int_mode(clsh, WCD_CLSH_STATE_HPHR, CLS_NONE);
|
||||
wcd_clsh_set_int_mode(clsh, WCD_CLSH_STATE_LO, CLS_NONE);
|
||||
clsh->flyback_users = 0;
|
||||
clsh->buck_users = 0;
|
||||
clsh->clsh_users = 0;
|
||||
}
|
||||
EXPORT_SYMBOL(wcd_clsh_init);
|
||||
|
||||
|
|
Loading…
Reference in a new issue