asoc: tear down the correct REQ_PS when widget power down
Tear down the correct REQ_PS when widget power down, that can fix the amic3 mute after ssr issue. Change-Id: I7b5c958e79eb23184bd11375bae11dbcd51e961a Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
This commit is contained in:
@@ -1320,8 +1320,10 @@ static int wcd9378_tx_sequencer_enable(struct snd_soc_dapm_widget *w,
|
|||||||
WCD9378_ANA_TX_CH2_HPF1_INIT_MASK, 0x00);
|
WCD9378_ANA_TX_CH2_HPF1_INIT_MASK, 0x00);
|
||||||
|
|
||||||
/*tear down TX1 sequencer*/
|
/*tear down TX1 sequencer*/
|
||||||
snd_soc_component_update_bits(component, WCD9378_PDE11_REQ_PS,
|
snd_soc_component_update_bits(component,
|
||||||
WCD9378_PDE11_REQ_PS_PDE11_REQ_PS_MASK, 0x03);
|
WCD9378_SMP_MIC_CTRL1_PDE11_REQ_PS,
|
||||||
|
WCD9378_SMP_MIC_CTRL1_PDE11_REQ_PS_PDE11_REQ_PS_MASK,
|
||||||
|
0x03);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ADC3:
|
case ADC3:
|
||||||
@@ -1330,8 +1332,8 @@ static int wcd9378_tx_sequencer_enable(struct snd_soc_dapm_widget *w,
|
|||||||
WCD9378_ANA_TX_CH3_HPF_HPF3_INIT_MASK, 0x00);
|
WCD9378_ANA_TX_CH3_HPF_HPF3_INIT_MASK, 0x00);
|
||||||
|
|
||||||
/*tear down TX2 sequencer*/
|
/*tear down TX2 sequencer*/
|
||||||
snd_soc_component_update_bits(component, WCD9378_PDE11_REQ_PS,
|
snd_soc_component_update_bits(component, WCD9378_SMP_MIC_CTRL2_PDE11_REQ_PS,
|
||||||
WCD9378_PDE11_REQ_PS_PDE11_REQ_PS_MASK, 0x03);
|
WCD9378_SMP_MIC_CTRL2_PDE11_REQ_PS_PDE11_REQ_PS_MASK, 0x03);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user