summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/gplugd.c
diff options
context:
space:
mode:
authorTanmay Upadhyay <tanmay.upadhyay@einfochips.com>2011-07-14 11:37:16 +0200
committerEric Miao <eric.y.miao@gmail.com>2011-08-11 04:10:43 +0200
commit4c22ea8f449ce837dd84965badca8e10f1f4094f (patch)
treead4dd273d912b73884ac9af37dc3fd9e3aefbead /arch/arm/mach-mmp/gplugd.c
parentARM: pxa168/gplugd: get rid of mfp-gplugd.h (diff)
downloadlinux-4c22ea8f449ce837dd84965badca8e10f1f4094f.tar.xz
linux-4c22ea8f449ce837dd84965badca8e10f1f4094f.zip
ARM: pxa168/gplugd: free correct GPIO
Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/gplugd.c')
-rw-r--r--arch/arm/mach-mmp/gplugd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c
index 0770e51baea0..98e25d9aaab6 100644
--- a/arch/arm/mach-mmp/gplugd.c
+++ b/arch/arm/mach-mmp/gplugd.c
@@ -162,7 +162,7 @@ static void __init select_disp_freq(void)
"frequency\n");
} else {
gpio_direction_output(35, 1);
- gpio_free(104);
+ gpio_free(35);
}
if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) {
@@ -170,7 +170,7 @@ static void __init select_disp_freq(void)
"frequency\n");
} else {
gpio_direction_output(85, 0);
- gpio_free(104);
+ gpio_free(85);
}
}