]> 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)
commitaf674e259399292911d6d395cf30e6f6c385c6aa
treebdd09d4dc504191ad996730781fb2aede753f79f
parenta5cf3a60da4d817326ea3eb446d495377d07b024
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: b77879bc465a ("ASoC: sun4i-i2s: Fix the LRCK period on A83t")
Fixes: 42ff08bc69c6 ("ASoC: sun4i-i2s: Fix MCLK Enable bit offset on A83t")
Fixes: 65806cf332a5 ("ASoC: sun4i-i2s: Fix WSS and SR fields for the A83t")
Fixes: d8abfb45ab25 ("ASoC: sun4i-i2s: Fix LRCK and BCLK polarity offsets on newer SoCs")
Fixes: 76fe26cc0be8 ("ASoC: sun4i-i2s: Fix the MCLK and BCLK dividers on newer SoCs")
Fixes: 4cf4dc9a3644 ("ASoC: sun4i-i2s: Use module clock as BCLK parent on newer SoCs")
Fixes: b051ebb0828f ("ASoC: sun4i-i2s: Move the format configuration to a callback")
Fixes: dd8363f334f4 ("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