Home
last modified time | relevance | path

Searched hist:f72c14ad8c6631a0a42115e74164f9b5faf4c724 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/power/supply/
H A Dbq27xxx_battery.cdiff f72c14ad8c6631a0a42115e74164f9b5faf4c724 Thu Feb 15 21:28:40 CET 2018 Sebastian Reichel <sebastian.reichel@collabora.co.uk> power: supply: bq27xxx: support missing supplier device

power_supply_am_i_supplied() can return negative error
codes. In this case we should assume, that no charger
is connected and the battery should be marked as
DISCHARGING instead of NOT_CHARGING.

Reported-by: Merlijn Wajer <merlijn@wizzup.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>