projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d902e78
)
ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
author
Paul Cercueil
<paul@crapouillou.net>
Fri, 6 Mar 2020 22:29:27 +0000
(23:29 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 9 Mar 2020 14:03:35 +0000
(14:03 +0000)
The 4-bit divider value was written at offset 8, while the jz4740
programming manual locates it at offset 0.
Fixes:
26b0aad80a86
("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>
sound/soc/jz4740/jz4740-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/jz4740/jz4740-i2s.c
b/sound/soc/jz4740/jz4740-i2s.c
index
9d54058
..
434737b
100644
(file)
--- a/
sound/soc/jz4740/jz4740-i2s.c
+++ b/
sound/soc/jz4740/jz4740-i2s.c
@@
-83,7
+83,7
@@
#define JZ_AIC_I2S_STATUS_BUSY BIT(2)
#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_IDV_SHIFT 8
#define I2SDIV_IDV_MASK (0xf << I2SDIV_IDV_SHIFT)