WSL2-Linux-Kernel/drivers/gnss
Johan Hovold 06fd9ab12b gnss: sirf: fix activation retry handling
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>
2018-12-06 17:22:23 +01: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
core.c gnss: fix potential error pointer dereference 2018-07-16 12:48:07 +02:00
serial.c gnss: serial: fix synchronous write timeout 2018-11-14 20:37:28 +01:00
serial.h gnss: add generic serial driver 2018-06-28 20:31:32 +09:00
sirf.c gnss: sirf: fix activation retry handling 2018-12-06 17:22:23 +01:00
ubx.c gnss: ubx: make struct ubx_gserial_ops static 2018-07-16 12:48:07 +02:00