mfd: mc13xxx: Limit maximum SPI speed
authorAlexander Shiyan <shc_work@mail.ru>
Sun, 2 Mar 2014 07:44:33 +0000 (11:44 +0400)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Mar 2014 08:58:35 +0000 (08:58 +0000)
commit0cfe5c90c45c53f9d28d166d2b13bb54852742ba
treefbeb7e0bb44e07874dc6330f3b0a8fe347afdf2d
parent471212d943f839c94aefd416feaeca6e26a6e1f6
mfd: mc13xxx: Limit maximum SPI speed

The patch adds the maximum speed limit in accordance with the
PMIC datasheet if other value is not given in the devicetree
description or board data.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mc13xxx-spi.c