misc: pmic: fix regression in pmic_fsl.c (SPI)
authorHelmut Raiger <helmut.raiger@hale.at>
Wed, 19 Oct 2011 20:34:43 +0000 (20:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:18 +0000 (22:56 +0100)
commit435a7285876fa7b3c4e1e6b028e1c490c01d738d
tree52e808661f612abd2ee26f503867186f09295dd3
parent28b119e93387db1b91ec476c74a784d5636d8e86
misc: pmic: fix regression in pmic_fsl.c (SPI)

This fixes write access to PMIC registers, the bug was
introduced partly in commit 64aac65099 and in commit c9fe76dd91.
It was tested on an i.mx31 with a mc13783.

Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/misc/pmic_fsl.c
drivers/misc/pmic_spi.c