ARM: pxa168/gplugd: free correct GPIO
authorTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Thu, 14 Jul 2011 09:37:16 +0000 (15:07 +0530)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 11 Aug 2011 02:10:43 +0000 (10:10 +0800)
Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-mmp/gplugd.c

index 0770e51baea0a5d825b020000b998634bb15fa51..98e25d9aaab61ea9c4865d6130fafa0e35d8134b 100644 (file)
@@ -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);
        }
 }