mx51evk: Use gpio_direction_input prior to gpio_get_value
authorFabio Estevam <festevam@gmail.com>
Wed, 8 Feb 2012 02:34:45 +0000 (02:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
commited9d21696df61df113ede200f36b4183d86313b2
tree94d05ad3866d8b6c7c6d0ddd22ba7e4727f7d63c
parentc9d5fd1602273fa412cc356ea26da29f94c7412b
mx51evk: Use gpio_direction_input prior to gpio_get_value

Use gpio_direction_input prior to gpio_get_value.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx51evk/mx51evk.c