kernel-fxtec-pro1x/drivers/gnss
Johan Hovold 3c1773b027 gnss: sirf: fix activation retry handling
commit 06fd9ab12b804451b14d538adbf98a57c2d6846b 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
Kconfig
Makefile
serial.c
serial.h
sirf.c gnss: sirf: fix activation retry handling 2018-12-13 09:16:22 +01:00
ubx.c