projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4b4c1
)
rk29_phone: disable pull down resistor of uart3 for gps
author
root
<root@lw.(none)>
Wed, 14 Sep 2011 09:27:11 +0000
(17:27 +0800)
committer
root
<root@lw.(none)>
Wed, 14 Sep 2011 09:29:52 +0000
(17:29 +0800)
drivers/misc/gps/rk29_gps.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/drivers/misc/gps/rk29_gps.c
b/drivers/misc/gps/rk29_gps.c
old mode 100644
(file)
new mode 100755
(executable)
index
2dc8f76
..
0e4aa47
--- a/
drivers/misc/gps/rk29_gps.c
+++ b/
drivers/misc/gps/rk29_gps.c
@@
-34,8
+34,14
@@
static int rk29_gps_uart_to_gpio(int uart_id)
gpio_request(RK29_PIN2_PB3, NULL);
\r
gpio_request(RK29_PIN2_PB2, NULL);
\r
\r
+ gpio_pull_updown(RK29_PIN2_PB3, PullDisable);
\r
+ gpio_pull_updown(RK29_PIN2_PB2, PullDisable);
\r
+
\r
gpio_direction_output(RK29_PIN2_PB3, GPIO_LOW);
\r
gpio_direction_output(RK29_PIN2_PB2, GPIO_LOW);
\r
+
\r
+ gpio_free(RK29_PIN2_PB3);
\r
+ gpio_free(RK29_PIN2_PB2);
\r
}
\r
else if(uart_id == 2) {
\r
rk29_mux_api_set(GPIO2B1_UART2SOUT_NAME, GPIO2L_GPIO2B1);
\r