diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2012-09-06 17:28:35 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-10-22 03:03:16 -0500 |
commit | 168e5bc4095177764edaff306c9d4674a6f7f5e6 (patch) | |
tree | 0bf63b83fac63fbb3eaa063e9e0ea4f5b0150eeb /include | |
parent | 505f3e6f2e0e90b78dec065e64ad57c5d8741b04 (diff) | |
download | u-boot-imx-168e5bc4095177764edaff306c9d4674a6f7f5e6.zip u-boot-imx-168e5bc4095177764edaff306c9d4674a6f7f5e6.tar.gz u-boot-imx-168e5bc4095177764edaff306c9d4674a6f7f5e6.tar.bz2 |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions