Commit 4c22ea8f authored by Tanmay Upadhyay's avatar Tanmay Upadhyay Committed by Eric Miao

ARM: pxa168/gplugd: free correct GPIO

Signed-off-by: default avatarTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 3647a40f
...@@ -162,7 +162,7 @@ static void __init select_disp_freq(void) ...@@ -162,7 +162,7 @@ static void __init select_disp_freq(void)
"frequency\n"); "frequency\n");
} else { } else {
gpio_direction_output(35, 1); gpio_direction_output(35, 1);
gpio_free(104); gpio_free(35);
} }
if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) { if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) {
...@@ -170,7 +170,7 @@ static void __init select_disp_freq(void) ...@@ -170,7 +170,7 @@ static void __init select_disp_freq(void)
"frequency\n"); "frequency\n");
} else { } else {
gpio_direction_output(85, 0); gpio_direction_output(85, 0);
gpio_free(104); gpio_free(85);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment