axpd/axpd-20170203git-Chuwi-i2c-dev-14.patch

12 lines
308 B
Diff

--- axpd-20170203git/axpd.sh.orig 2017-02-03 15:46:45.819648051 +0100
+++ axpd-20170203git/axpd.sh 2017-02-03 15:46:52.909631894 +0100
@@ -8,7 +8,7 @@
rmmod -f battery
modprobe i2c-dev
modprobe test_power
-for i in 4 12
+for i in 4 12 14
do
if find /sys | grep axp288_charger | grep -q i2c-$i/
then