diff options
author | Johan Hovold <johan@kernel.org> | 2018-12-05 11:21:49 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2018-12-06 17:22:23 +0100 |
commit | 06fd9ab12b804451b14d538adbf98a57c2d6846b (patch) | |
tree | 47834839ee73b176855ea883e1b586aa61372fb2 /lib | |
parent | 2595646791c319cadfdbf271563aac97d0843dc7 (diff) | |
download | linux-stable-06fd9ab12b804451b14d538adbf98a57c2d6846b.tar.gz linux-stable-06fd9ab12b804451b14d538adbf98a57c2d6846b.tar.bz2 linux-stable-06fd9ab12b804451b14d538adbf98a57c2d6846b.zip |
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: d2efbbd18b1e ("gnss: add driver for sirfstar-based receivers")
Cc: stable <stable@vger.kernel.org> # 4.19
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions