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:
d696603
)
rk3066b:switch between spk and ear in M701
author
hxy
<hxy@rock-chips.com>
Fri, 14 Sep 2012 09:34:33 +0000
(17:34 +0800)
committer
hxy
<hxy@rock-chips.com>
Fri, 14 Sep 2012 09:34:33 +0000
(17:34 +0800)
arch/arm/mach-rk30/board-rk3066b-m701.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk3066b-m701.c
b/arch/arm/mach-rk30/board-rk3066b-m701.c
index 9f41b9cdd379f058a6a563cfde8da4e329dafe94..94ba8c63dff22c017d53c0e08c3a4432a43da44c 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk3066b-m701.c
+++ b/
arch/arm/mach-rk30/board-rk3066b-m701.c
@@
-1572,6
+1572,10
@@
static void __init machine_rk30_board_init(void)
#ifdef CONFIG_WIFI_CONTROL_FUNC
rk29sdk_wifi_bt_gpio_control_init();
#endif
+
+ // spk and ear switch
+ gpio_request(RK30_PIN2_PB1, NULL);
+ gpio_direction_output(RK30_PIN2_PB1, GPIO_HIGH);
}
static void __init rk30_reserve(void)