[PATCH 1/1] mx31moboard: change initial reset status for robot microcontollers
Valentin Longchamp
valentin.longchamp at epfl.ch
Fri Nov 20 05:07:27 EST 2009
We want the microcontrollers to be held in reset during kernel boot.
I just removed a typo in the changelog and commit message, thanks Uwe.
This patch is trivial and should go into next -rc.
Signed-off-by: Valentin Longchamp <valentin.longchamp at epfl.ch>
---
arch/arm/mach-mx3/mx31moboard-marxbot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c
index 2bfaffb..325e10b 100644
--- a/arch/arm/mach-mx3/mx31moboard-marxbot.c
+++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c
@@ -110,12 +110,12 @@ static struct imxmmc_platform_data sdhc2_pdata = {
static void dspics_resets_init(void)
{
if (!gpio_request(TRSLAT_RST_B, "translator-rst")) {
- gpio_direction_output(TRSLAT_RST_B, 1);
+ gpio_direction_output(TRSLAT_RST_B, 0);
gpio_export(TRSLAT_RST_B, false);
}
if (!gpio_request(DSPICS_RST_B, "dspics-rst")) {
- gpio_direction_output(DSPICS_RST_B, 1);
+ gpio_direction_output(DSPICS_RST_B, 0);
gpio_export(DSPICS_RST_B, false);
}
}
--
1.6.3.3
More information about the linux-arm-kernel
mailing list