mx53evk: Use gpio_direction_input prior to gpio_get_value
authorFabio Estevam <festevam@gmail.com>
Wed, 8 Feb 2012 02:34:43 +0000 (02:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
commit7d1267d623df5f89e06ded4662aff866e1537004
tree3487fd42f259c365b07f0b044aba7e95cb5101c8
parent93082044a9797483ea6224c0989792710e4f5135
mx53evk: 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: Jason Liu <r64343@freescale.com>
board/freescale/mx53evk/mx53evk.c