ASoC: rt5670: fix wrong bit def for pll src
Subsystems (3)
PATCH 1/1 ASoC: rt5670: fix wrong bit def for pll src
The bit allocation for PLL source is 0x80 [13:11] instead of [12:11]
--- sound/soc/codecs/rt5670.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
sound/soc/codecs/rt5670.h +6 -6
@@ -973,12 +973,12 @@#define RT5670_SCLK_SRC_MCLK (0x0 << 14)#define RT5670_SCLK_SRC_PLL1 (0x1 << 14)#define RT5670_SCLK_SRC_RCCLK (0x2 << 14)/* 15MHz */ -#define RT5670_PLL1_SRC_MASK (0x3 << 12) -#define RT5670_PLL1_SRC_SFT 12 -#define RT5670_PLL1_SRC_MCLK (0x0 << 12) -#define RT5670_PLL1_SRC_BCLK1 (0x1 << 12) -#define RT5670_PLL1_SRC_BCLK2 (0x2 << 12) -#define RT5670_PLL1_SRC_BCLK3 (0x3 << 12) +#define RT5670_PLL1_SRC_MASK (0x7 << 11) +#define RT5670_PLL1_SRC_SFT 11 +#define RT5670_PLL1_SRC_MCLK (0x0 << 11) +#define RT5670_PLL1_SRC_BCLK1 (0x1 << 11) +#define RT5670_PLL1_SRC_BCLK2 (0x2 << 11) +#define RT5670_PLL1_SRC_BCLK3 (0x3 << 11)#define RT5670_PLL1_PD_MASK (0x1 << 3)#define RT5670_PLL1_PD_SFT 3#define RT5670_PLL1_PD_1 (0x0 << 3)
Signature · 1 line
1.8.1.1.439.g50a6b54
Mark Brown
maintainerApplied "ASoC: rt5670: fix wrong bit def for pll src" to the asoc tree
The patch
ASoC: rt5670: fix wrong bit def for pll src
has been applied to the asoc tree at
git://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
Quoted 1 line
From
e71bf05554c9015bef8df3ffc386ccb37b153858Mon Sep 17 00:00:00 2001
From: Bard Liao <[email protected]>
Date: Tue, 17 Nov 2015 16:30:17 +0800
Subject: [PATCH] ASoC: rt5670: fix wrong bit def for pll src
The bit allocation for PLL source is 0x80 [13:11] instead of [12:11]
--- sound/soc/codecs/rt5670.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
sound/soc/codecs/rt5670.h +6 -6
@@ -973,12 +973,12 @@#define RT5670_SCLK_SRC_MCLK (0x0 << 14)#define RT5670_SCLK_SRC_PLL1 (0x1 << 14)#define RT5670_SCLK_SRC_RCCLK (0x2 << 14)/* 15MHz */ -#define RT5670_PLL1_SRC_MASK (0x3 << 12) -#define RT5670_PLL1_SRC_SFT 12 -#define RT5670_PLL1_SRC_MCLK (0x0 << 12) -#define RT5670_PLL1_SRC_BCLK1 (0x1 << 12) -#define RT5670_PLL1_SRC_BCLK2 (0x2 << 12) -#define RT5670_PLL1_SRC_BCLK3 (0x3 << 12) +#define RT5670_PLL1_SRC_MASK (0x7 << 11) +#define RT5670_PLL1_SRC_SFT 11 +#define RT5670_PLL1_SRC_MCLK (0x0 << 11) +#define RT5670_PLL1_SRC_BCLK1 (0x1 << 11) +#define RT5670_PLL1_SRC_BCLK2 (0x2 << 11) +#define RT5670_PLL1_SRC_BCLK3 (0x3 << 11)#define RT5670_PLL1_PD_MASK (0x1 << 3)#define RT5670_PLL1_PD_SFT 3#define RT5670_PLL1_PD_1 (0x0 << 3)
Signature · 1 line
2.6.2