]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Writing register default value for the reset register
authorAxel Lin <axel.lin@gmail.com>
Tue, 11 Oct 2011 09:55:00 +0000 (17:55 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Oct 2011 13:32:22 +0000 (14:32 +0100)
commit127fed18a37a14013e57a95b2e5c6ceeb4d4bdd0
tree0e37a90a300125529c12041f694cf845cb947bf6
parente473ac778738dd771f2e4b1304c94785512d6e62
ASoC: Writing register default value for the reset register

The WM8983 can be reset by performing a write of any value to
the software reset register.
To avoid writing to the software reset register while resume,
we should write the same value in wm8983_reg_defs to software
reset register in wm8983_probe().
The write to the reset register is suppressed by the cache
restore code when it skips writes of default registers.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8983.c