]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ASoC: sun4i-i2s: Add quirks to handle a31 compatible
authorMylène Josserand <mylene.josserand@free-electrons.com>
Tue, 4 Apr 2017 19:32:30 +0000 (19:32 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 21 Apr 2017 08:12:41 +0000 (10:12 +0200)
commitcebdd74d8e9116f31670e15016693feaf38c862f
treef8704ecd76b873380ffabbdb16a34d83f9c2becb
parent203baab49d8baffc6819a7deb5977d3c8e5e2fac
ASoC: sun4i-i2s: Add quirks to handle a31 compatible

BugLink: http://bugs.launchpad.net/bugs/1682130
[ Upstream commit 2ad6f30de7087515a0bc2a718fca6681a57739a0 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
sound/soc/sunxi/sun4i-i2s.c