mfd: da9052: Fix register access via SPI
authorAdam Ward <adam.ward.opensource@diasemi.com>
Wed, 4 Mar 2015 16:13:12 +0000 (16:13 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 12 Mar 2015 09:06:40 +0000 (09:06 +0000)
commit9438892e9f969a80ab9665b97e2e4432aa5a85a7
treeed04943ff3aee78f0e8719202df184f7ee288576
parent84daddc321079e402b8dc54714886c2843771394
mfd: da9052: Fix register access via SPI

The range of registers used by this driver exceeds that available
via SPI with no paging (127), so we have to override the values
from the default config which is set-up for I2C access.
Also change SPI settings to match device's recommended OTP values.

Signed-off-by: Adam Ward <adam.ward.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9052-spi.c