kernel-fxtec-pro1x/drivers/gnss
Johan Hovold 09675c2f84 gnss: sirf: fix premature wakeup interrupt enable
commit 82f844c22588bf47132c82faeda50b6db473162c upstream.

Make sure the receiver is powered (and booted) before enabling the
wakeup interrupt to avoid spurious interrupts due to a floating input.

Similarly, disable the interrupt before powering off on probe errors and
on unbind.

Fixes: d2efbbd18b ("gnss: add driver for sirfstar-based receivers")
Cc: stable <stable@vger.kernel.org>	# 4.19
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-10 07:17:21 +01:00
..
core.c gnss: fix potential error pointer dereference 2018-07-16 12:48:07 +02:00
Kconfig gnss: add driver for sirfstar-based receivers 2018-06-28 20:32:51 +09:00
Makefile gnss: add driver for sirfstar-based receivers 2018-06-28 20:32:51 +09:00
serial.c gnss: serial: fix synchronous write timeout 2018-11-27 16:13:10 +01:00
serial.h
sirf.c gnss: sirf: fix premature wakeup interrupt enable 2019-03-10 07:17:21 +01:00
ubx.c gnss: ubx: make struct ubx_gserial_ops static 2018-07-16 12:48:07 +02:00