diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-11 02:35:26 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-11 02:35:26 +0100 |
commit | e918edf7c2f2270dcf18cdcbdf86174a013a124e (patch) | |
tree | 36a5d45c3795ac188e32c09b427fa67068d6cacd /include | |
parent | ARM: OMAP: switch to gpio_direction_input (diff) | |
download | linux-e918edf7c2f2270dcf18cdcbdf86174a013a124e.tar.xz linux-e918edf7c2f2270dcf18cdcbdf86174a013a124e.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions