diff options
author | Jack Yu <jack.yu@realtek.com> | 2020-03-03 10:59:13 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-03 14:00:01 +0000 |
commit | 4b01618b624736fc7d74f150f623d11b17b7b288 (patch) | |
tree | fb965454fbee71003889e2441c7148fa934cc341 /sound | |
parent | d237851d5d9dff5973160737197e825f05715ba3 (diff) |
ASoC: rt1015: modify pre-divider for sysclk
Modify pre-divider for system clock.
Signed-off-by: Jack Yu <jack.yu@realtek.com>
Link: https://lore.kernel.org/r/20200303025913.24499-1-jack.yu@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt1015.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c index 9f151c7c3d2d..66eb55b4ffd4 100644 --- a/sound/soc/codecs/rt1015.c +++ b/sound/soc/codecs/rt1015.c @@ -664,7 +664,7 @@ static int rt1015_hw_params(struct snd_pcm_substream *substream, snd_soc_component_update_bits(component, RT1015_TDM_MASTER, RT1015_I2S_DL_MASK, val_len); snd_soc_component_update_bits(component, RT1015_CLK2, - RT1015_FS_PD_MASK, pre_div); + RT1015_FS_PD_MASK, pre_div << RT1015_FS_PD_SFT); return 0; } |