]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun4i: Revert A83t description
authorMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Aug 2019 12:31:31 +0000 (14:31 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 27 Aug 2019 18:22:02 +0000 (19:22 +0100)
commitd5f4a9f4469d137e648621f9ee69023b35a2d397
treebdd09d4dc504191ad996730781fb2aede753f79f
parent3a9ac55bcda3e4f21e0b1c4d0b2a8cae1feb61be
ASoC: sun4i: Revert A83t description

The last set of reworks included some fixes to change the A83t behaviour
and "fix" it.

It turns out that the controller described in the datasheet and the one
supported here are not the same, yet the A83t has the two of them, and the
one supported in the driver wasn't the one described in the datasheet.

Fix this by reintroducing the proper quirks.

Fixes: 060dd645762f ("ASoC: sun4i-i2s: Fix the LRCK period on A83t")
Fixes: cc083926cb59 ("ASoC: sun4i-i2s: Fix MCLK Enable bit offset on A83t")
Fixes: fb0af554efcb ("ASoC: sun4i-i2s: Fix WSS and SR fields for the A83t")
Fixes: 4b4bc21c7ec4 ("ASoC: sun4i-i2s: Fix LRCK and BCLK polarity offsets on newer SoCs")
Fixes: 9b3d6783a51d ("ASoC: sun4i-i2s: Fix the MCLK and BCLK dividers on newer SoCs")
Fixes: f758792cbf37 ("ASoC: sun4i-i2s: Use module clock as BCLK parent on newer SoCs")
Fixes: 75f72a0aceb3 ("ASoC: sun4i-i2s: Move the format configuration to a callback")
Fixes: 2e642273da13 ("ASoC: sun4i-i2s: Move the channel configuration to a callback")
Reported-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://lore.kernel.org/r/20190827123131.29129-2-mripard@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c