asoc: codecs: error fix for soc_component_read_no_lock

the offset between LPASS_CDC_WSA_RX_INP_MUX_RX_INT0_CFG1 and
LPASS_CDC_WSA_RX_INP_MUX_RX_INT1_CFG1 is 8 so updating
0x104 + 8* interp
update ng block register write for NG2 mode in Kundu

Change-Id: I44da894feebb5d25bd467ffd4d54adde111778e6
Signed-off-by: Shazmaan Ali <quic_shazmaan@quicinc.com>
This commit is contained in:
Shazmaan Ali
2022-03-22 21:29:36 -07:00
committed by Gerrit - the friendly Code Review server
parent 572fd25838
commit 7f29f390e1
2 changed files with 4 additions and 4 deletions

View File

@@ -756,11 +756,11 @@ static void wsa_noise_gate_write(struct snd_soc_component *component,
break;
case NG2:
snd_soc_component_update_bits(component, WSA884X_PA_FSM_CTL1,
WSA884X_IDLE_DETECT_NG_BLOCK_MASK, 0x28);
WSA884X_IDLE_DETECT_NG_BLOCK_MASK, 0x20);
break;
case NG3:
snd_soc_component_update_bits(component, WSA884X_PA_FSM_CTL1,
WSA884X_IDLE_DETECT_NG_BLOCK_MASK, 0x18);
WSA884X_IDLE_DETECT_NG_BLOCK_MASK, 0x10);
break;
default:
snd_soc_component_update_bits(component, WSA884X_PA_FSM_CTL1,