Skip to content

Commit 2e04fc4

Browse files
mripardbroonie
authored andcommitted
ASoC: sun4i-i2s: Fix WSS and SR fields for the A83t
The A83t has the same bit fields offsets than the A10 and A31, while this was the first device with the new layout, fix that. Fixes: 21faaea ("ASoC: sun4i-i2s: Add support for A83T") Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://lore.kernel.org/r/d93f0943cc39d880750daf459a0eeab34c63518e.1566242458.git-series.maxime.ripard@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent dd657ea commit 2e04fc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sound/soc/sunxi/sun4i-i2s.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,8 +1048,8 @@ static const struct sun4i_i2s_quirks sun8i_a83t_i2s_quirks = {
10481048
.reg_offset_txdata = SUN8I_I2S_FIFO_TX_REG,
10491049
.sun4i_i2s_regmap = &sun4i_i2s_regmap_config,
10501050
.field_clkdiv_mclk_en = REG_FIELD(SUN4I_I2S_CLK_DIV_REG, 7, 7),
1051-
.field_fmt_wss = REG_FIELD(SUN4I_I2S_FMT0_REG, 2, 3),
1052-
.field_fmt_sr = REG_FIELD(SUN4I_I2S_FMT0_REG, 4, 5),
1051+
.field_fmt_wss = REG_FIELD(SUN4I_I2S_FMT0_REG, 0, 2),
1052+
.field_fmt_sr = REG_FIELD(SUN4I_I2S_FMT0_REG, 4, 6),
10531053
.bclk_dividers = sun8i_i2s_clk_div,
10541054
.num_bclk_dividers = ARRAY_SIZE(sun8i_i2s_clk_div),
10551055
.mclk_dividers = sun8i_i2s_clk_div,

0 commit comments

Comments
 (0)