linux-stable/drivers/gnss
Johan Hovold 3c1773b027 gnss: sirf: fix activation retry handling
commit 06fd9ab12b upstream.

Fix activation helper which would return -ETIMEDOUT even if the last
retry attempt was successful.

Also change the semantics of the retries variable so that it actually
holds the number of retries (rather than tries).

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>
2018-12-13 09:16:22 +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 activation retry handling 2018-12-13 09:16:22 +01:00
ubx.c gnss: ubx: make struct ubx_gserial_ops static 2018-07-16 12:48:07 +02:00