diff options
author | Yuxi Sun <b36102@freescale.com> | 2011-07-19 16:31:54 +0800 |
---|---|---|
committer | Yuxi Sun <b36102@freescale.com> | 2011-07-19 17:41:01 +0800 |
commit | be5e4b5166d995a4fc6ff0ce595ef2428ecc7317 (patch) | |
tree | eec4198ac6f47e2d51b1b77d133caa23627221c7 /arch | |
parent | a50ea00d2b0c2de46b4da67eaf1aff1f3df9784a (diff) |
ENGR00153298 MX53_SMD: set camera reset pin as output
This pin was not set before, it seems default as input, so need to
set as output
Signed-off-by: Tu Chih Chieh <b32449@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/mx53_smd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/mx53_smd.c b/arch/arm/mach-mx5/mx53_smd.c index a5878202d885..0563075bfd74 100644 --- a/arch/arm/mach-mx5/mx53_smd.c +++ b/arch/arm/mach-mx5/mx53_smd.c @@ -1132,7 +1132,7 @@ static void __init mx53_smd_io_init(void) /* Camera reset */ gpio_request(MX53_SMD_CSI0_RST, "cam-reset"); - gpio_set_value(MX53_SMD_CSI0_RST, 1); + gpio_direction_output(MX53_SMD_CSI0_RST, 1); /* Camera power down */ gpio_request(MX53_SMD_CSI0_PWN, "cam-pwdn"); |