提交 4c22ea8f 编写于 作者: T Tanmay Upadhyay 提交者: Eric Miao

ARM: pxa168/gplugd: free correct GPIO

Signed-off-by: NTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册