linux/drivers/power/supply
Paul Kocialkowski ae0f74be6e power: bq24735-charger: Assume not charging when charger is missing
When the charger is missing (disconnected), it is safe to assume that
the charger chip is no charging.

This is especially relevant when a status GPIO is present and the
charger is getting disconnected. bq24735_charger_is_charging will be
triggered due to the interrupt then, it will attempt to read whether it
is charging through i2c, which will fail as the charger is disconnected.

This also fixes that specific issue.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2016-08-29 02:39:06 +02:00
..
88pm860x_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
88pm860x_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
Kconfig power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
Makefile power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
ab8500_bmdata.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
ab8500_btemp.c power: ab8500_btemp: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
ab8500_charger.c power: ab8500_charger: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
ab8500_fg.c power: ab8500_fg: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
abx500_chargalg.c power: abx500_chargalg: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
act8945a_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
apm_power.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
axp20x_usb_power.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
axp288_charger.c power: axp288_charger: remove duplicated include from axp288_charger.c 2016-08-16 00:36:37 +02:00
axp288_fuel_gauge.c power: axp288_fuel_gauge: remove duplicated include from axp288_fuel_gauge.c 2016-08-16 00:36:27 +02:00
bq27xxx_battery.c power:bq27xxx: 27000/10 read FLAGS register as single 2016-08-15 21:26:52 +02:00
bq27xxx_battery_i2c.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
bq2415x_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
bq24190_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
bq24257_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
bq24735-charger.c power: bq24735-charger: Assume not charging when charger is missing 2016-08-29 02:39:06 +02:00
bq25890_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
charger-manager.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
collie_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
da9030_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
da9052-battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
da9150-charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
da9150-fg.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
ds2760_battery.c power: ds2760_battery: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
ds2780_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
ds2781_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
ds2782_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
generic-adc-battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
goldfish_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
gpio-charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
intel_mid_battery.c power: intel_mid_battery: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
ipaq_micro_battery.c power: ipaq_micro_battery: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
isp1704_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
jz4740-battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
lp8727_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
lp8788-charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
ltc2941-battery-gauge.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
max8903_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
max8925_power.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
max8997_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
max8998_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
max14577_charger.c power: supply: Change Krzysztof Kozlowski's email to kernel.org 2016-08-17 14:15:58 +02:00
max17040_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
max17042_battery.c Power Supply Fixes for 4.8 cycle 2016-08-16 01:17:42 +02:00
max77693_charger.c power: supply: Change Krzysztof Kozlowski's email to kernel.org 2016-08-17 14:15:58 +02:00
olpc_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
pcf50633-charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
pda_power.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
pm2301_charger.c power: pm2301_charger: Remove deprecated create_singlethread_workqueue 2016-08-16 00:54:37 +02:00
pm2301_charger.h power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
pmu_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
power_supply.h power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
power_supply_core.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
power_supply_leds.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
power_supply_sysfs.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
qcom_smbb.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
rt5033_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
rt9455_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
rx51_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
s3c_adc_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
sbs-battery.c sbs-battery: add ability to get battery capacity 2016-08-15 23:14:55 +02:00
smb347-charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
test_power.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
tosa_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
tps65090-charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
tps65217_charger.c Power Supply Fixes for 4.8 cycle 2016-08-16 01:17:42 +02:00
twl4030_charger.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
twl4030_madc_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
wm97xx_battery.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
wm831x_backup.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
wm831x_power.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
wm8350_power.c power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
z2_battery.c power: z2_battery: remove .owner field for driver 2016-08-16 00:36:06 +02:00