Skip to content

Commit 4b01618

Browse files
Jack Yubroonie
authored andcommitted
ASoC: rt1015: modify pre-divider for sysclk
Modify pre-divider for system clock. Signed-off-by: Jack Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent d237851 commit 4b01618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/rt1015.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ static int rt1015_hw_params(struct snd_pcm_substream *substream,
664664
snd_soc_component_update_bits(component, RT1015_TDM_MASTER,
665665
RT1015_I2S_DL_MASK, val_len);
666666
snd_soc_component_update_bits(component, RT1015_CLK2,
667-
RT1015_FS_PD_MASK, pre_div);
667+
RT1015_FS_PD_MASK, pre_div << RT1015_FS_PD_SFT);
668668

669669
return 0;
670670
}

0 commit comments

Comments
 (0)