Skip to content

Commit e693d94

Browse files
authored
Merge pull request #181 from plbossart/fix/mdivc
apl-ssp: do not override common MDIVCTRL register
2 parents 5e83da7 + 383d89d commit e693d94

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/drivers/apl-ssp.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ static inline int ssp_set_config(struct dai *dai,
252252

253253
sscr0 |= SSCR0_MOD | SSCR0_ACS;
254254

255-
mdivc = 0x1;
255+
mdivc = mn_reg_read(0x0);
256+
mdivc |= 0x1;
257+
256258
#ifdef CONFIG_CANNONLAKE
257259
if (!config->ssp.mclk_rate || config->ssp.mclk_rate > F_24000_kHz) {
258260
trace_ssp_error("eci");

0 commit comments

Comments
 (0)