projects
/
qcpufreq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for automatic bq27x00_battery module loading
[qcpufreq]
/
src
/
data
/
scripts
/
QCPUFreq.helper
diff --git
a/src/data/scripts/QCPUFreq.helper
b/src/data/scripts/QCPUFreq.helper
index
7153fd5
..
a867e8a
100755
(executable)
--- a/
src/data/scripts/QCPUFreq.helper
+++ b/
src/data/scripts/QCPUFreq.helper
@@
-9,6
+9,10
@@
if [[ -z $1 || -z $2 ]]; then
fi
case "$1" in
+ "load_bq27")
+ /sbin/modprobe bq27x00_battery
+ exit 0
+ ;;
"set_maxfreq")
#set scaling_max_freq
echo $2 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq