From: Tanmay Upadhyay Date: Thu, 14 Jul 2011 09:37:16 +0000 (+0530) Subject: ARM: pxa168/gplugd: free correct GPIO X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c22ea8f449ce837dd84965badca8e10f1f4094f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: pxa168/gplugd: free correct GPIO Signed-off-by: Tanmay Upadhyay Signed-off-by: Eric Miao --- 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); } }