linux/arch/arm/plat-omap
David Brownell e918edf7c2 ARM: OMAP: switch to gpio_direction_output
More conversion to the standard GPIO interfaces:  stop using
omap_set_gpio_direction() entirely, and switch over to the
gpio_direction_output() call.

Note that because gpio_direction_output() includes the initial
value, this change isn't quite transparent.

 - For the call sites which defined an initial value either
   before or after setting the direction, that value was used.

   When that value was previously assigned afterwards, this
   could eliminate a brief output glitch ... and possibly
   change behavior.  In a few cases (LCDs) several values
   were assigned together ... those were re-arranged to match
   the explicit sequence provided.

 - Some call sites didn't define such a value; so I chose an
   initial "off/reset" value that seemed to default to "off".

In short, files touched by this patch might notice some small
changes in startup behavior (with trivial fixes).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2008-12-10 17:35:26 -08:00
..
include/mach ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
clock.c ARM: OMAP: Fix debugfs_create_*'s error checking method for arm/plat-omap 2008-11-04 13:35:07 -08:00
common.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
cpu-omap.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
debug-devices.c ARM: OMAP: switch to gpio_direction_input 2008-12-10 17:35:26 -08:00
debug-leds.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
devices.c Merge branch 'fixes' into for-linus 2008-10-15 23:16:07 +01:00
dma.c [ARM] omap: fix lots of 'Using plain integer as NULL pointer' 2008-09-05 17:02:33 +01:00
dmtimer.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
fb.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
gpio.c ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
i2c.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
io.c ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
Kconfig ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
mailbox.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
mailbox.h ARM: OMAP: Add mailbox support for IVA 2007-05-09 10:37:10 +01:00
Makefile [ARM] omap: allow ioremap() to use our fixed IO mappings 2008-09-05 17:02:29 +01:00
mcbsp.c ARM: OMAP: Fixes to omap_mcbsp_request function 2008-10-08 10:01:41 +03:00
mux.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
ocpi.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
sram.c [ARM] omap: fix a pile of issues 2008-12-01 17:40:54 +00:00
usb.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00