OSDN Git Service

ASoC: sun4i-codec: Add support for optional reset control to quirks
authorChen-Yu Tsai <wens@csie.org>
Mon, 7 Nov 2016 10:06:58 +0000 (18:06 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2016 14:43:35 +0000 (14:43 +0000)
commit9aead156c0665a362c8b007b51fe3396fea4d346
treeed9aa5b2b78e9df237834fa98c0dbac5a5f97f49
parent24c99f843208df70ec7d1e04aa405f7e4c36f228
ASoC: sun4i-codec: Add support for optional reset control to quirks

The later Allwinner SoCs have a dedicated reset controller, and
peripherals have dedicated reset controls which need to be deasserted
before the associated peripheral can be used.

Add support for this to the quirks structure and probe/remove functions.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c