projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9520e
)
Fix a typo in the instructions on using omap3's gpio interface.
author
Tom Rix
<Tom.Rix@windriver.com>
Wed, 3 Jun 2009 06:53:55 +0000
(
01:53
-0500)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 12 Jun 2009 18:45:47 +0000
(20:45 +0200)
Using the example for reading a gpio, shows the problem.
NULL should be the gpio number.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Dirk Behme <dirk.behme@googlemail.com>
doc/README.omap3
patch
|
blob
|
history
diff --git
a/doc/README.omap3
b/doc/README.omap3
index e05e816df4b0a2a495775799f504b7138e26dbbc..66e781d0f8d9c71dbf7784538d04b451fa5ad8f0 100644
(file)
--- a/
doc/README.omap3
+++ b/
doc/README.omap3
@@
-106,7
+106,7
@@
To clear a bit :
To read a bit :
if (!omap_request_gpio(N)) {
- omap_set_gpio_direction(N
ULL
, 1);
+ omap_set_gpio_direction(N, 1);
val = omap_get_gpio_datain(N);
omap_free_gpio(N);
}