• Johan Hovold's avatar
    gnss: sirf: fix activation retry handling · 06fd9ab1
    Johan Hovold authored
    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: d2efbbd1 ("gnss: add driver for sirfstar-based receivers")
    Cc: stable <stable@vger.kernel.org>	# 4.19
    Signed-off-by: 's avatarJohan Hovold <johan@kernel.org>
    06fd9ab1
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
core.c Loading commit data...
serial.c Loading commit data...
serial.h Loading commit data...
sirf.c Loading commit data...
ubx.c Loading commit data...