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:
1c4bd8e
)
rk3066b:m701:fixed wakeup failed
author
张晴
<zhangqing@rock-chips.com>
Wed, 31 Oct 2012 10:14:50 +0000
(18:14 +0800)
committer
张晴
<zhangqing@rock-chips.com>
Wed, 31 Oct 2012 10:14:50 +0000
(18:14 +0800)
arch/arm/mach-rk30/board-pmu-tps65910.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-pmu-tps65910.c
b/arch/arm/mach-rk30/board-pmu-tps65910.c
index d0b31ba9d317405a41453756c075d775a7741f68..41c72f96e9967ea6481819912339abbcaa4e6c3c 100755
(executable)
--- a/
arch/arm/mach-rk30/board-pmu-tps65910.c
+++ b/
arch/arm/mach-rk30/board-pmu-tps65910.c
@@
-540,12
+540,16
@@
static struct regulator_init_data tps65910_ldo8 = {
void __sramfunc board_pmu_tps65910_suspend(void)
{
+ #ifdef CONFIG_CLK_SWITCH_TO_32K
sram_gpio_set_value(pmic_sleep, GPIO_HIGH);
+ #endif
}
void __sramfunc board_pmu_tps65910_resume(void)
{
+ #ifdef CONFIG_CLK_SWITCH_TO_32K
sram_gpio_set_value(pmic_sleep, GPIO_LOW);
sram_udelay(2000);
+ #endif
}
static struct tps65910_board tps65910_data = {
.irq = (unsigned)TPS65910_HOST_IRQ,