ASoC: Disable thermal shutdown when not using speakers in wm_hubs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 Nov 2011 17:11:54 +0000 (17:11 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 Nov 2011 23:08:08 +0000 (23:08 +0000)
commit03431972ac16bbfcbfb831bb37c419f8f71bf16d
tree86caae57b1e2aaaaf47bd6fb6fbffda7a169645d
parent94b88e647c795b2ba5add6d43dc7a454c6d02356
ASoC: Disable thermal shutdown when not using speakers in wm_hubs

The thermal shutdown support in wm_hubs devices is tied to the speaker
drivers (which are the only high power subsystems within the device).
Ensure minimal current usage when the thermal shutdown support is not
required by disabling the circuit when the speaker drivers are powered
down.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_hubs.c