drivers: dai: ssp: clear RSE bits on ACE

On ACE RSE bits should be cleared unconditionally
if ssp is no longer in use

This will allow to successfully disable SSP in
dai_ssp_pm_runtime_dis_ssp_power()
and enable it correctly in the next run

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
This commit is contained in:
Adrian Bonislawski 2022-11-18 08:03:34 +01:00 committed by Fabio Baltieri
commit fa57cd613b

View file

@ -1766,7 +1766,7 @@ static void dai_ssp_stop(struct dai_intel_ssp *dp, int direction)
ssp->state[DAI_DIR_PLAYBACK] == DAI_STATE_PRE_RUNNING) {
bool clear_rse_bits = COND_CODE_1(CONFIG_INTEL_ADSP_CAVS,
(!(ssp->clk_active & SSP_CLK_BCLK_ES_REQ)),
(false));
(true));
if (clear_rse_bits) {
/* clear TRSE/RSRE before SSE */
dai_ssp_update_bits(dp, SSCR1, SSCR1_TSRE | SSCR1_RSRE, 0);