]> Git Repo - linux.git/commitdiff
ARM: pxa168/gplugd: free correct GPIO
authorTanmay Upadhyay <[email protected]>
Thu, 14 Jul 2011 09:37:16 +0000 (15:07 +0530)
committerEric Miao <[email protected]>
Thu, 11 Aug 2011 02:10:43 +0000 (10:10 +0800)
Signed-off-by: Tanmay Upadhyay <[email protected]>
Signed-off-by: Eric Miao <[email protected]>
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);
        }
 }
 
This page took 0.055772 seconds and 4 git commands to generate.