projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6963d00
)
ASoC: sun4i-i2s: Incorrect SR and WSS computation
author
Marcus Cooper
<codekipper@gmail.com>
Mon, 29 Jul 2019 15:21:30 +0000
(17:21 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 31 Jul 2019 11:01:46 +0000
(12:01 +0100)
The A64 audio codec uses the original I2S block but the SR and
WSS computation currently assigned is for the newer block.
Fixes: 619c15f7fac9 (ASoC: sun4i-i2s: Change SR and WSS computation)
Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Link:
https://lore.kernel.org/r/20190729152130.27955-1-codekipper@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/sunxi/sun4i-i2s.c
b/sound/soc/sunxi/sun4i-i2s.c
index 9b2232908b6528a6adc10bf82bb9682d4e7c004c..7fa5c61169db00f103e7658020e60610534c4c84 100644
(file)
--- a/
sound/soc/sunxi/sun4i-i2s.c
+++ b/
sound/soc/sunxi/sun4i-i2s.c
@@
-1002,8
+1002,8
@@
static const struct sun4i_i2s_quirks sun50i_a64_codec_i2s_quirks = {
.field_rxchanmap = REG_FIELD(SUN4I_I2S_RX_CHAN_MAP_REG, 0, 31),
.field_txchansel = REG_FIELD(SUN4I_I2S_TX_CHAN_SEL_REG, 0, 2),
.field_rxchansel = REG_FIELD(SUN4I_I2S_RX_CHAN_SEL_REG, 0, 2),
- .get_sr = sun
8i_i2s_get_sr_wss
,
- .get_wss = sun
8i_i2s_get_sr
_wss,
+ .get_sr = sun
4i_i2s_get_sr
,
+ .get_wss = sun
4i_i2s_get
_wss,
};
static int sun4i_i2s_init_regmap_fields(struct device *dev,