Chris Packham 168e5bc409 mpc85xx: make gpio_direction_output respect value
Users of familiar with the Linux gpiolib API expect that value parameter
to gpio_direction_output reflects the initial state of the output pin.
gpio_direction_output was always driving the output low, now it drives
it high or low according to the value provided.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-10-22 03:03:16 -05:00
..
2010-10-04 11:15:02 +02:00
2012-10-15 11:53:59 -07:00
2011-02-02 22:36:10 +01:00
2012-08-23 12:16:55 -05:00
2010-10-18 22:33:32 +02:00
2012-08-23 12:16:57 -05:00
2010-10-04 11:15:02 +02:00
2011-10-05 22:22:16 +02:00
2010-10-04 11:15:02 +02:00
2010-10-04 11:15:02 +02:00
2010-10-04 11:15:02 +02:00
2012-10-15 11:53:59 -07:00
2012-10-15 11:53:59 -07:00
2011-05-12 16:10:51 +02:00