ARM: mxs/mach-mx2[38]evk: Set the initial value on gpio_request_one
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 29 Mar 2011 19:45:09 +0000 (16:45 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 19 May 2011 11:11:10 +0000 (13:11 +0200)
commitc7dae1812a26071ec56d14cfd9f414d5ac1677a3
treea9d9bab7be3ec1207d32114b9bb41af2718ef974
parent986e5f08de25050e893411aef56776d84d3530b6
ARM: mxs/mach-mx2[38]evk: Set the initial value on gpio_request_one

Current code does not set the GPIO value to zero as mentioned in the comment.

Fix it by setting the initial GPIO value to zero.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
LAKML-Reference: 1301427910-31726-1-git-send-email-fabio.estevam@freescale.com
[ukleinek: squashed two patches together fixing both boards at once]
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mxs/mach-mx23evk.c
arch/arm/mach-mxs/mach-mx28evk.c