]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: sun4i-i2s: Add quirks to handle a31 compatible
authorMylène Josserand <mylene.josserand@free-electrons.com>
Thu, 2 Feb 2017 09:24:16 +0000 (10:24 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 3 Feb 2017 12:02:07 +0000 (13:02 +0100)
commit2ad6f30de7087515a0bc2a718fca6681a57739a0
treee434ae7b37b89a7df38cd91060c0846c22fd7d36
parent164e372747ce7a8b97459e98ce258b6aa969cb2f
ASoC: sun4i-i2s: Add quirks to handle a31 compatible

Some SoCs have a reset line that must be asserted/deasserted.
This patch adds a quirk to handle the new compatible
"allwinner,sun6i-a31-i2s" which will deassert the reset
line on probe function and assert it on remove's one.

This new compatible is useful in case of A33 codec driver, for example.

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c