commit | 82f844c22588bf47132c82faeda50b6db473162c | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Jan 22 18:22:53 2019 +0100 |
committer | Johan Hovold <johan@kernel.org> | Fri Jan 25 10:58:52 2019 +0100 |
tree | 5042e51ce950d2bee376ae0a658d0684454d3552 | |
parent | 49a57857aeea06ca831043acbb0fa5e0f50602fd [diff] |
gnss: sirf: fix premature wakeup interrupt enable Make sure the receiver is powered (and booted) before enabling the wakeup interrupt to avoid spurious interrupts due to a floating input. Similarly, disable the interrupt before powering off on probe errors and on unbind. 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>