mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
commit9401d5aa32upstream. The 4-bit divider value was written at offset 8, while the jz4740 programming manual locates it at offset 0. Fixes:26b0aad80a("ASoC: jz4740: Add dynamic sampling rate support to jz4740-i2s") Signed-off-by: Paul Cercueil <paul@crapouillou.net> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20200306222931.39664-2-paul@crapouillou.net Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e30a21c6fe
commit
9351dee1cc
@@ -83,7 +83,7 @@
|
|||||||
#define JZ_AIC_I2S_STATUS_BUSY BIT(2)
|
#define JZ_AIC_I2S_STATUS_BUSY BIT(2)
|
||||||
|
|
||||||
#define JZ_AIC_CLK_DIV_MASK 0xf
|
#define JZ_AIC_CLK_DIV_MASK 0xf
|
||||||
#define I2SDIV_DV_SHIFT 8
|
#define I2SDIV_DV_SHIFT 0
|
||||||
#define I2SDIV_DV_MASK (0xf << I2SDIV_DV_SHIFT)
|
#define I2SDIV_DV_MASK (0xf << I2SDIV_DV_SHIFT)
|
||||||
#define I2SDIV_IDV_SHIFT 8
|
#define I2SDIV_IDV_SHIFT 8
|
||||||
#define I2SDIV_IDV_MASK (0xf << I2SDIV_IDV_SHIFT)
|
#define I2SDIV_IDV_MASK (0xf << I2SDIV_IDV_SHIFT)
|
||||||
|
|||||||
Reference in New Issue
Block a user