]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mfd: Ensure sm501 GPIO pin mode is GPIO when configured
authorBen Dooks <ben-linux@fluff.org>
Sat, 10 Jan 2009 15:59:53 +0000 (16:59 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 11 Jan 2009 00:34:25 +0000 (01:34 +0100)
commit98325f8f8e950818c306cbc224897a1dda471945
treeb0f0d2415a33f4c088ba515217de3469cb531adc
parentd1fdb4f6fbb155af88363bc949a35daa11872d9f
mfd: Ensure sm501 GPIO pin mode is GPIO when configured

When setting an GPIO to either input or output, we
should ensure that the pin configuration elsewhere
in the chip is set to GPIO in-case the initial
setup has not been done correctly.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/sm501.c