ASoC: sgtl5000: Fix wrong register name in restore
authorZeng Zhaoming <zengzm.kernel@gmail.com>
Wed, 18 Jan 2012 05:58:07 +0000 (13:58 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Jan 2012 13:54:32 +0000 (13:54 +0000)
commitbb362e2e4f4874f3fd4cbc2497385b9bceb3a08a
treeb70cec68252f8dee5953713c842f5b426cf2eb9c
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
ASoC: sgtl5000: Fix wrong register name in restore

Correct SGTL5000_CHIP_CLK_CTRL to SGTL5000_CHIP_REF_CTRL in
sgtl5000_restore_regs(), and add comment to explain the
restore order.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Zeng Zhaoming <zengzm.kernel@gmail.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c