summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/ie.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-09-03 00:09:53 +0200
committerSebastian Reichel <sre@kernel.org>2016-09-05 12:59:49 +0200
commitc65a8b51123a14f6960e4238bfa4673d54ee183a (patch)
tree6c71dafdd88c4ff44c84b4b809229df38061b889 /drivers/uwb/ie.c
parent3b5dd3a49496220b35af83c96e3d2ff5716550ae (diff)
downloadlinux-stable-c65a8b51123a14f6960e4238bfa4673d54ee183a.tar.gz
linux-stable-c65a8b51123a14f6960e4238bfa4673d54ee183a.tar.bz2
linux-stable-c65a8b51123a14f6960e4238bfa4673d54ee183a.zip
power: supply: bq24735-charger: Request status GPIO with initial input setup
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>
Diffstat (limited to 'drivers/uwb/ie.c')
0 files changed, 0 insertions, 0 deletions