mfd: twl6040: Move register patching earlier in probe
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 1 Apr 2014 13:45:00 +0000 (16:45 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:21 +0000 (08:11 +0100)
commit006cea3aeced7f3d67fe2849da7724683853d87d
tree768df692c0abbc516cd4f1cfa37c166d3dae1b10
parent68bab8662f49b9e158f1d32f11becd4e48c04079
mfd: twl6040: Move register patching earlier in probe

Make sure that we patch the ACCCTL register as the first thing when the
driver loads, thus configuring I2C fast mode and i2c access for dual access
registers.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl6040.c