[ARM] mfd: cpcap-audio: disable unused audio hardware
authorChris Fries <C.Fries@motorola.com>
Thu, 21 Oct 2010 04:20:49 +0000 (23:20 -0500)
committerIliyan Malchev <malchev@google.com>
Fri, 22 Oct 2010 19:56:23 +0000 (12:56 -0700)
commit75eda34029f08d4486a2f55db269ec0dea7837aa
tree50e44c9e7e7d80b017ae7a8cb4f435593809e902
parentdd90e9ab13836ce6ba271fb75a137da181d899c0
[ARM] mfd: cpcap-audio: disable unused audio hardware

Disable unused audio hardware, and decouple the STDAC and CODEC states.

- While controlling output, don't touch CODEC state/mute
- While controlling input, don't touch STDAC state/mute
- Don't enable external input gains, it's not connected.

Signed-off-by: Iliyan Malchev <malchev@google.com>
drivers/mfd/cpcap-audio-core.c
drivers/mfd/tegra-cpcap-audio.c