We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12ecadc + 30e7613 commit cc3fb1eCopy full SHA for cc3fb1e
1 file changed
src/platform/intel/cavs/pm_runtime.c
@@ -76,7 +76,7 @@ static inline void cavs_pm_runtime_dis_ssp_clk_gating(uint32_t index)
76
shim_write(SHIM_CLKCTL, shim_read(SHIM_CLKCTL) |
77
(index < DAI_NUM_SSP_BASE ?
78
SHIM_CLKCTL_I2SFDCGB(index) :
79
- SHIM_CLKCTL_I2SEFDCGB(index)));
+ SHIM_CLKCTL_I2SEFDCGB(index - DAI_NUM_SSP_BASE)));
80
81
trace_event(TRACE_CLASS_POWER,
82
"dis-ssp-clk-gating index %d CLKCTL %08x",
@@ -90,7 +90,7 @@ static inline void cavs_pm_runtime_en_ssp_clk_gating(uint32_t index)
90
shim_write(SHIM_CLKCTL, shim_read(SHIM_CLKCTL) &
91
~(index < DAI_NUM_SSP_BASE ?
92
93
94
95
96
"en-ssp-clk-gating index %d CLKCTL %08x",
0 commit comments