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:
parent
cfda0afbf9
commit
fa57cd613b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue