diff --git a/soc/swr-mstr-ctrl.c b/soc/swr-mstr-ctrl.c index d318ef99322a..c078278baa50 100644 --- a/soc/swr-mstr-ctrl.c +++ b/soc/swr-mstr-ctrl.c @@ -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) {