mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "soc: swr-mstr: Avoid underflow due to CPS spkr prot enabled"
This commit is contained in:
commit
65c5953d9a
1 changed files with 4 additions and 0 deletions
|
|
@ -2456,6 +2456,10 @@ static int swrm_master_init(struct swr_mstr_ctrl *swrm)
|
|||
u32 temp = 0;
|
||||
int len = 0;
|
||||
|
||||
/* Change no of retry counts to 1 for wsa to avoid underflow */
|
||||
if (swrm->master_id == MASTER_ID_WSA)
|
||||
retry_cmd_num = 1;
|
||||
|
||||
/* SW workaround to gate hw_ctl for SWR version >=1.6 */
|
||||
if (swrm->version >= SWRM_VERSION_1_6) {
|
||||
if (swrm->swrm_hctl_reg) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue