ASoC: twl6040: Chip initialization cleanup
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 15 Sep 2011 12:39:27 +0000 (15:39 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 22:15:57 +0000 (23:15 +0100)
commita52762eee97d42344691c190cf8786dd9edde4d7
tree2aae3f80b46004cb010245c97870894dc78ef660
parent77f63e06cb5d5127e6f78347db01e092b97e111e
ASoC: twl6040: Chip initialization cleanup

There is no need to write to the vio registers at probe time, since most
them either read only, or shared with MFD or not used.
On the other hand it is a good idea to updated the ASICREV register in
the cache at this time.

After power up we need to restore some registers. Clean up the list to
contain only the registers we are going to restore.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/mfd/twl6040.h
sound/soc/codecs/twl6040.c
This page took 0.026702 seconds and 5 git commands to generate.