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:
56b9a8b
)
rk30:sdk:change load order order
author
许盛飞
<xsf@rock-chips.com>
Mon, 9 Jul 2012 02:01:02 +0000
(10:01 +0800)
committer
许盛飞
<xsf@rock-chips.com>
Mon, 9 Jul 2012 02:01:02 +0000
(10:01 +0800)
drivers/power/rk29_charger_display.c
patch
|
blob
|
history
diff --git
a/drivers/power/rk29_charger_display.c
b/drivers/power/rk29_charger_display.c
index f4d5412d7929180512886326c088be0cd8b70755..c9e596aef52400f1dd7785f99ee30afe99c505f4 100755
(executable)
--- a/
drivers/power/rk29_charger_display.c
+++ b/
drivers/power/rk29_charger_display.c
@@
-106,6
+106,7
@@
static int __init start_charge_logo_display(void)
//low power and charging
+#if 0
if((val_capacity.intval < pwr_on_thrsd )&&(val_status.intval == POWER_SUPPLY_STATUS_CHARGING))
{
while((val_capacity.intval < pwr_on_thrsd ))
@@
-119,7
+120,7
@@
static int __init start_charge_logo_display(void)
}
}
-
+#endif
if(val_status.intval == POWER_SUPPLY_STATUS_CHARGING)
{
@@
-134,5
+135,5
@@
static int __init start_charge_logo_display(void)
return 0;
}
-subsys_initcall_sync(start_charge_logo_display);
-
+
//
subsys_initcall_sync(start_charge_logo_display);
+module_init(start_charge_logo_display);