ASoC: uda1380: make driver more powersave-friendly
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 30 Aug 2010 08:28:07 +0000 (11:28 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 Aug 2010 12:25:17 +0000 (13:25 +0100)
commit8614d310a2ba78cfc73ab12da112c3115801f94e
treec5a4b21a132d0931393bf74e59bde1c24453d897
parent4e48541676f019145b555761d89bf4f8607d3de0
ASoC: uda1380: make driver more powersave-friendly

Disable some codec modules in standby mode, completely disable
codec in off mode to save some power.
Fix suspend/resume: mark mixer regs as dirty on resume to
restore mixer values, otherwise driver produces no sound
(master is muted by default).

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/uda1380.c