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)
commit72e341c48fbca142d767e97746e33a4becf890ea
treeed04943ff3aee78f0e8719202df184f7ee288576
parentc7f585fe46d834d5837db7fbe205c46b94f81dc2
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