ASoC: sgtl5000: Fix wrong register name in restore
authorZeng Zhaoming <[email protected]>
Wed, 18 Jan 2012 05:58:07 +0000 (13:58 +0800)
committerMark Brown <[email protected]>
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 <[email protected]>
Signed-off-by: Zeng Zhaoming <[email protected]>
Acked-by: Dong Aisheng <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/sgtl5000.c