ASoC: cs4271: add regulator consumer support
authorPascal Huerst <pascal.huerst@gmail.com>
Tue, 16 Feb 2016 15:19:06 +0000 (16:19 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 Feb 2016 02:44:32 +0000 (11:44 +0900)
commit9a397f473657ad47449b6ab94ff2bb3f1f2de48f
treeeb5e379b3c2d20c0946e05038770e582d62967b6
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: cs4271: add regulator consumer support

The cs4271 has three power domains: vd, vl and va.
Enable them all, as long as the codec is in use.

While at it, factored out the reset code into its own function.

Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/cs4271.txt
sound/soc/codecs/cs4271.c