mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
![]() This requests the status GPIO with initial input setup. It is required to read the GPIO status at probe time and thus correctly avoid sending I2C messages when AC is not plugged. When requesting the GPIO without initial input setup, it always reads 0 which causes probe to fail as it assumes the charger is connected, sends I2C messages and fails. While at it, this switches the driver over to gpiod API. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Sebastian Reichel <sre@kernel.org> |
||
---|---|---|
.. | ||
ab8500.h | ||
bq27xxx_battery.h | ||
bq2415x_charger.h | ||
bq24190_charger.h | ||
bq24735-charger.h | ||
charger-manager.h | ||
generic-adc-battery.h | ||
gpio-charger.h | ||
isp1704_charger.h | ||
jz4740-battery.h | ||
max8903_charger.h | ||
max17042_battery.h | ||
sbs-battery.h | ||
smartreflex.h | ||
smb347-charger.h | ||
twl4030_madc_battery.h |