diff options
author | Tanmay Upadhyay <tanmay.upadhyay@einfochips.com> | 2011-07-14 05:37:16 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-08-10 22:10:43 -0400 |
commit | 4c22ea8f449ce837dd84965badca8e10f1f4094f (patch) | |
tree | ad4dd273d912b73884ac9af37dc3fd9e3aefbead /arch | |
parent | 3647a40f3677bc76f85d25bfe56f096e2a44d899 (diff) |
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')
-rw-r--r-- | arch/arm/mach-mmp/gplugd.c | 4 |
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) | |||
162 | "frequency\n"); | 162 | "frequency\n"); |
163 | } else { | 163 | } else { |
164 | gpio_direction_output(35, 1); | 164 | gpio_direction_output(35, 1); |
165 | gpio_free(104); | 165 | gpio_free(35); |
166 | } | 166 | } |
167 | 167 | ||
168 | if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) { | 168 | if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) { |
@@ -170,7 +170,7 @@ static void __init select_disp_freq(void) | |||
170 | "frequency\n"); | 170 | "frequency\n"); |
171 | } else { | 171 | } else { |
172 | gpio_direction_output(85, 0); | 172 | gpio_direction_output(85, 0); |
173 | gpio_free(104); | 173 | gpio_free(85); |
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||