summaryrefslogtreecommitdiff
path: root/board/logicpd/zoom2/zoom2.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2011-10-12 10:31:44 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:35 +0200
commitb5db0a068a25e71b178e4b89635af731cf2f7c24 (patch)
tree9d17469de9e3805d4066c0dd2110bb68851a13c1 /board/logicpd/zoom2/zoom2.c
parent1037d585d3a4e8f1dceb504c0089f7cc16abdb8c (diff)
downloadolio-uboot-2014.01-b5db0a068a25e71b178e4b89635af731cf2f7c24.tar.xz
olio-uboot-2014.01-b5db0a068a25e71b178e4b89635af731cf2f7c24.zip
omap: Don't use gpio_free to change direction to input
gpio_free() should not have the side effect of setting the line to input since this prevents the gpio command from being able to set a line as output. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/logicpd/zoom2/zoom2.c')
-rw-r--r--board/logicpd/zoom2/zoom2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/logicpd/zoom2/zoom2.c b/board/logicpd/zoom2/zoom2.c
index 21964c240..be3083d9c 100644
--- a/board/logicpd/zoom2/zoom2.c
+++ b/board/logicpd/zoom2/zoom2.c
@@ -95,7 +95,6 @@ void zoom2_identify(void)
gpio_direction_input(94);
val = gpio_get_value(94);
- gpio_free(94);
if (val)
revision = ZOOM2_REVISION_BETA;