Skip to content

Commit 52f87f3

Browse files
codekipperbroonie
authored andcommitted
ASoC: sun4i-i2s: Incorrect SR and WSS computation
The A64 audio codec uses the original I2S block but the SR and WSS computation currently assigned is for the newer block. Fixes: 619c15f (ASoC: sun4i-i2s: Change SR and WSS computation) Signed-off-by: Marcus Cooper <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6963d00 commit 52f87f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/sunxi/sun4i-i2s.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,8 +1002,8 @@ static const struct sun4i_i2s_quirks sun50i_a64_codec_i2s_quirks = {
10021002
.field_rxchanmap = REG_FIELD(SUN4I_I2S_RX_CHAN_MAP_REG, 0, 31),
10031003
.field_txchansel = REG_FIELD(SUN4I_I2S_TX_CHAN_SEL_REG, 0, 2),
10041004
.field_rxchansel = REG_FIELD(SUN4I_I2S_RX_CHAN_SEL_REG, 0, 2),
1005-
.get_sr = sun8i_i2s_get_sr_wss,
1006-
.get_wss = sun8i_i2s_get_sr_wss,
1005+
.get_sr = sun4i_i2s_get_sr,
1006+
.get_wss = sun4i_i2s_get_wss,
10071007
};
10081008

10091009
static int sun4i_i2s_init_regmap_fields(struct device *dev,

0 commit comments

Comments
 (0)