git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d816e7b
)
power_supply: twl4030: allow USB charging by default
author
Grazvydas Ignotas
<notasas@gmail.com>
Sat, 26 Feb 2011 18:00:08 +0000
(20:00 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Fri, 3 Jun 2011 22:29:29 +0000
(
01:29
+0300)
This is disabled in mainline because we don't know amount of current
host device can provide, but enabling it here regardless like we did
with 2.6.27.
drivers/power/twl4030_charger.c
patch
|
blob
|
history
diff --git
a/drivers/power/twl4030_charger.c
b/drivers/power/twl4030_charger.c
index
ff1f423
..
1a75162
100644
(file)
--- a/
drivers/power/twl4030_charger.c
+++ b/
drivers/power/twl4030_charger.c
@@
-61,8
+61,8
@@
#define TWL4030_MSTATEC_COMPLETE1 0x0b
#define TWL4030_MSTATEC_COMPLETE4 0x0e
-static bool allow_usb;
-module_param(allow_usb, bool,
1
);
+static bool allow_usb
= 1
;
+module_param(allow_usb, bool,
0644
);
MODULE_PARM_DESC(allow_usb, "Allow USB charge drawing default current");
struct twl4030_bci {