summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/twl6040.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-09-15 15:39:27 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-19 23:15:57 +0100
commita52762eee97d42344691c190cf8786dd9edde4d7 (patch)
tree2aae3f80b46004cb010245c97870894dc78ef660 /include/linux/mfd/twl6040.h
parent77f63e06cb5d5127e6f78347db01e092b97e111e (diff)
downloadtalos-obmc-linux-a52762eee97d42344691c190cf8786dd9edde4d7.tar.gz
talos-obmc-linux-a52762eee97d42344691c190cf8786dd9edde4d7.zip
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>
Diffstat (limited to 'include/linux/mfd/twl6040.h')
-rw-r--r--include/linux/mfd/twl6040.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mfd/twl6040.h b/include/linux/mfd/twl6040.h
index cb3b82207120..ec1ec794fa23 100644
--- a/include/linux/mfd/twl6040.h
+++ b/include/linux/mfd/twl6040.h
@@ -70,9 +70,6 @@
#define TWL6040_CACHEREGNUM (TWL6040_REG_STATUS + 1)
-#define TWL6040_VIOREGNUM 18
-#define TWL6040_VDDREGNUM 21
-
/* INTID (0x03) fields */
#define TWL6040_THINT 0x01
OpenPOWER on IntegriCloud