Skip to contentSkip to conversation

ASoC: rt1015: modify pre-divider for sysclk

PATCH In review [email protected] 2 participants 3 messages Mar 3, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt1015: modify pre-divider for sysclk

From: Jack Yu <[email protected]>

Modify pre-divider for system clock.

---
 sound/soc/codecs/rt1015.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt1015.c +1 -1
index 5fa21d8ab620..bb310bc7febd 100644
@@ -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;
 }
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 3 lines · On Tue, Mar 03, 2020 at 10:59:13AM +0800, [email protected] wrote:

From: Jack Yu <[email protected]>

Modify pre-divider for system clock.

This changelog really doesn't describe what the change does - in what way is the pre-divider modified and why?

maintainer
#2 lore raw

Applied "ASoC: rt1015: modify pre-divider for sysclk" to the asoc tree

In reply to [email protected]

The patch

ASoC: rt1015: modify pre-divider for sysclk

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

From 4b01618b624736fc7d74f150f623d11b17b7b288 Mon Sep 17 00:00:00 2001
From: Jack Yu <[email protected]>
Date: Tue, 3 Mar 2020 10:59:13 +0800
Subject: [PATCH] ASoC: rt1015: modify pre-divider for sysclk

Modify pre-divider for system clock.

---
 sound/soc/codecs/rt1015.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt1015.c +1 -1
index 9f151c7c3d2d..66eb55b4ffd4 100644
@@ -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;
 }
Signature · 1 line
2.20.1