mx53loco: Use gpio_direction_input prior to gpio_get_value
authorFabio Estevam <festevam@gmail.com>
Wed, 8 Feb 2012 02:34:41 +0000 (02:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:23 +0000 (21:19 +0100)
commita091be766dc9d2ed16b8307668e13ec3182655e4
tree94572abdfc202168d97225915bccbcee9adc7aa9
parent913b321a1e0336d1743974510f93d61da2b94d75
mx53loco: Use gpio_direction_input prior to gpio_get_value

Use gpio_direction_input prior to gpio_get_value.

Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Acked-by: Jason Liu <r64343@freescale.com>
board/freescale/mx53loco/mx53loco.c