diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-06-15 12:00:56 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-06-25 08:10:09 +0300 |
commit | 759c5b599cf4ddb3b56e66d459b1bf0fe2724fb8 (patch) | |
tree | bb41e54a23187c130d1dae2e20590722aa68c5a5 /drivers/net/wireless/ralink/rt2x00/rt2800usb.c | |
parent | 2034afe4db4a2a4f22541d7f7b426e38d2093d38 (diff) | |
download | lwn-759c5b599cf4ddb3b56e66d459b1bf0fe2724fb8.tar.gz lwn-759c5b599cf4ddb3b56e66d459b1bf0fe2724fb8.zip |
rt2800: initial watchdog implementation
Add watchdog for rt2800 devices. For now it only detect hung
and print error.
[Note: I verified that printing messages from process context is
fine on MT7620 (WT3020) platform that have problem when printk
is called from interrupt context].
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ralink/rt2x00/rt2800usb.c')
-rw-r--r-- | drivers/net/wireless/ralink/rt2x00/rt2800usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800usb.c b/drivers/net/wireless/ralink/rt2x00/rt2800usb.c index 9f23b18c50bb..da813dfa9a91 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800usb.c @@ -687,6 +687,7 @@ static const struct rt2x00lib_ops rt2800usb_rt2x00_ops = { .link_tuner = rt2800_link_tuner, .gain_calibration = rt2800_gain_calibration, .vco_calibration = rt2800_vco_calibration, + .watchdog = rt2800_watchdog, .start_queue = rt2800usb_start_queue, .kick_queue = rt2x00usb_kick_queue, .stop_queue = rt2800usb_stop_queue, |