commit | 98325f8f8e950818c306cbc224897a1dda471945 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Sat Jan 10 16:59:53 2009 +0100 |
committer | Samuel Ortiz <samuel@sortiz.org> | Sun Jan 11 01:34:25 2009 +0100 |
tree | b0f0d2415a33f4c088ba515217de3469cb531adc | |
parent | d1fdb4f6fbb155af88363bc949a35daa11872d9f [diff] |
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>