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>
This commit is contained in:
Pascal Huerst 2016-02-16 16:19:06 +01:00 • committed by Mark Brown
commit 9a397f4736
2 changed files with 68 additions and 8 deletions