diff options
author | Fred Fan <r01011@freescale.com> | 2008-04-26 17:49:10 +0800 |
---|---|---|
committer | Daniel Schaeffer <daniel.schaeffer@timesys.com> | 2008-08-25 15:21:04 -0400 |
commit | 417e355921b5800925613cf337ee9c11e57683e2 (patch) | |
tree | c9434c9a7e66558775bf0df6042e44325c67bcf3 | |
parent | c5941844f91ca8ef8984ce5db51ebac72cfd95c8 (diff) |
ENGR00074472 Fix SD module makes system crash when system enters suspend mode2.6.24-mx31pdk-200808251921
use right parameter when calling mxc_free_iomux
Signed-off-by: Fred Fan <r01011@freescale.com>
(cherry picked from commit f5e011cda199c05f25e217c33974dfae9940c8d8)
-rw-r--r-- | arch/arm/mach-mx3/mx3_3stack_gpio.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-mx3/mx3_3stack_gpio.c b/arch/arm/mach-mx3/mx3_3stack_gpio.c index fe6bf6351fa9..2d2e61b9f258 100644 --- a/arch/arm/mach-mx3/mx3_3stack_gpio.c +++ b/arch/arm/mach-mx3/mx3_3stack_gpio.c @@ -487,17 +487,17 @@ void gpio_sdhc_inactive(int module) mxc_request_gpio(MX31_PIN_SD1_DATA3); mxc_free_iomux(MX31_PIN_SD1_CLK, OUTPUTCONFIG_GPIO, - INPUTCONFIG_NONE); + INPUTCONFIG_GPIO); mxc_free_iomux(MX31_PIN_SD1_CMD, OUTPUTCONFIG_GPIO, - INPUTCONFIG_NONE); + INPUTCONFIG_GPIO); mxc_free_iomux(MX31_PIN_SD1_DATA0, OUTPUTCONFIG_GPIO, - INPUTCONFIG_NONE); + INPUTCONFIG_GPIO); mxc_free_iomux(MX31_PIN_SD1_DATA1, OUTPUTCONFIG_GPIO, - INPUTCONFIG_NONE); + INPUTCONFIG_GPIO); mxc_free_iomux(MX31_PIN_SD1_DATA2, OUTPUTCONFIG_GPIO, - INPUTCONFIG_NONE); + INPUTCONFIG_GPIO); mxc_free_iomux(MX31_PIN_SD1_DATA3, OUTPUTCONFIG_GPIO, - INPUTCONFIG_NONE); + INPUTCONFIG_GPIO); mxc_iomux_set_pad(MX31_PIN_SD1_CLK, (PAD_CTL_DRV_NORMAL | PAD_CTL_SRE_SLOW)); |