diff options
| author | Johan Hovold <johan@kernel.org> | 2018-12-05 11:21:49 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-13 09:16:22 +0100 |
| commit | 3c1773b0275e2b4e37f7df01b17234ba65b2efc7 (patch) | |
| tree | 7169273abdbb07ea07fee00764c4aed605a5bfb4 /drivers/tty | |
| parent | 41867ab9b0d396ce51fb63e29fda2b5791124e0e (diff) | |
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: d2efbbd18b1e ("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>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions
