Paul Kocialkowski
c65a8b5112
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>
2016-09-05 12:59:49 +02:00
..
acpi
treewide: replace obsolete _refok by __ref
2016-08-02 17:31:41 -04:00
asm-generic
RTC for 4.8
2016-08-05 09:48:22 -04:00
clocksource
crypto
A number of improvements for the /dev/random driver; the most
2016-07-27 15:11:55 -07:00
drm
Merge branch 'generic-zpos-v8' of http://git.linaro.org/people/benjamin.gaignard/kernel into drm-next
2016-08-03 08:40:24 +10:00
dt-bindings
ARM: DT updates for v4.8
2016-08-01 18:37:45 -04:00
keys
kvm
KVM/ARM Changes for v4.8 - Take 2
2016-08-04 13:59:56 +02:00
linux
power: supply: bq24735-charger: Request status GPIO with initial input setup
2016-09-05 12:59:49 +02:00
math-emu
media
dma-mapping: use unsigned long for dma_attrs
2016-08-04 08:50:07 -04:00
memory
misc
net
virtio/vhost: new features for 4.8
2016-08-06 09:20:13 -04:00
pcmcia
ras
rdma
Second round of merge items for 4.8
2016-08-04 20:26:31 -04:00
rxrpc
scsi
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2016-08-04 20:04:37 -04:00
soc
ARM: SoC driver updates for v4.8
2016-08-01 18:36:01 -04:00
sound
Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux
2016-08-01 21:44:08 -04:00
target
trace
block: rename bio bi_rw to bi_opf
2016-08-07 14:41:02 -06:00
uapi
virtio/vhost: new features for 4.8
2016-08-06 09:20:13 -04:00
video
xen
dma-mapping: use unsigned long for dma_attrs
2016-08-04 08:50:07 -04:00
Kbuild