ASoC: ad1836: reset and restore clock control mode in suspend/resume entry
authorBarry Song <21cnbao@gmail.com>
Mon, 25 Jan 2010 08:42:25 +0000 (16:42 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 25 Jan 2010 14:52:22 +0000 (14:52 +0000)
tests show frequent suspend/resume(frequent poweroff/on ad1836 internal
components) maybe make ad1836 clock mode wrong sometimes after wakeup.
This patch reset/restore ad1836 clock mode while executing PM, then
ad1836 can always resume to right clock status.

Signed-off-by: Barry Song <21cnbao@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found