drivers: dai: intel: dmic: fix dmic power-up on cAVS2.5 and ACE1.5
The logic to poll on CPA bit is not working on non-ACE2.0
platforms. This is causing regressions in SOF test suite with
dmic.
Fixes: 2547948544
("intel_adsp: ace20_lnl: dmic: Program new HW registers for dmic")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
parent
71dfaff583
commit
6403c9414b
1 changed files with 2 additions and 1 deletions
|
@ -325,10 +325,11 @@ static inline void dai_dmic_en_power(const struct dai_intel_dmic *dmic)
|
|||
sys_write32((sys_read32(base + DMICLCTL_OFFSET) | DMICLCTL_SPA),
|
||||
base + DMICLCTL_OFFSET);
|
||||
|
||||
#ifdef CONFIG_SOC_INTEL_ACE20_LNL /* Ace 2.0 */
|
||||
while (!(sys_read32(base + DMICLCTL_OFFSET) & DMICLCTL_CPA)) {
|
||||
k_sleep(K_USEC(100));
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void dai_dmic_dis_power(const struct dai_intel_dmic *dmic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue