Skip to content
Snippets Groups Projects
Commit 4c22ea8f authored by Tanmay Upadhyay's avatar Tanmay Upadhyay Committed by Eric Miao
Browse files

ARM: pxa168/gplugd: free correct GPIO

parent 3647a40f
No related branches found
No related tags found
No related merge requests found
...@@ -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);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment