diff options
author | Johan Hovold <johan@kernel.org> | 2019-01-22 18:22:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-10 07:09:01 +0100 |
commit | 02c66213c80ab85a78b494711d530ac20760efb2 (patch) | |
tree | 6feb81d8accbda2b443482ef74033672ab4030af /tools | |
parent | ff204bb4c71b067b91225104b241cd670e7b6fdd (diff) | |
download | talos-obmc-linux-02c66213c80ab85a78b494711d530ac20760efb2.tar.gz talos-obmc-linux-02c66213c80ab85a78b494711d530ac20760efb2.zip |
gnss: sirf: fix premature wakeup interrupt enable
commit 82f844c22588bf47132c82faeda50b6db473162c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions