* [PATCH] b43: stop leds during suspend
@ 2015-01-19 14:34 Sabrina Dubroca
2015-01-23 17:41 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Sabrina Dubroca @ 2015-01-19 14:34 UTC (permalink / raw)
To: kvalo, stefano.brivio; +Cc: linux-wireless, b43-dev, Sabrina Dubroca
Call b43_leds_stop during suspend to avoid this WARN:
WARNING: CPU: 1 PID: 0 at net/mac80211/util.c:755 ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]()
queueing ieee80211 work while going to suspend
[...]
Call Trace:
[<c165fb2a>] dump_stack+0x48/0x69
[<c1052f7b>] warn_slowpath_common+0x8b/0xc0
[<f9c30225>] ? ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]
[<f9c30225>] ? ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]
[<c1052fe3>] warn_slowpath_fmt+0x33/0x40
[<f9c30225>] ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]
[<f9c30260>] ieee80211_queue_work+0x20/0x40 [mac80211]
[<f9f25d78>] b43_led_brightness_set+0x28/0x30 [b43]
[<c14f3835>] led_timer_function+0xd5/0xe0
[<c10cb534>] call_timer_fn+0xa4/0x4a0
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
---
drivers/net/wireless/b43/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 47731cb0d815..58a2e88631fb 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4318,6 +4318,7 @@ redo:
mutex_unlock(&wl->mutex);
cancel_delayed_work_sync(&dev->periodic_work);
cancel_work_sync(&wl->tx_work);
+ b43_leds_stop(dev);
mutex_lock(&wl->mutex);
dev = wl->current_dev;
if (!dev || b43_status(dev) < B43_STAT_STARTED) {
--
2.2.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: b43: stop leds during suspend
2015-01-19 14:34 [PATCH] b43: stop leds during suspend Sabrina Dubroca
@ 2015-01-23 17:41 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2015-01-23 17:41 UTC (permalink / raw)
To: Sabrina Dubroca; +Cc: stefano.brivio, linux-wireless, b43-dev, Sabrina Dubroca
> Call b43_leds_stop during suspend to avoid this WARN:
>
> WARNING: CPU: 1 PID: 0 at net/mac80211/util.c:755 ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]()
> queueing ieee80211 work while going to suspend
>
> [...]
>
> Call Trace:
> [<c165fb2a>] dump_stack+0x48/0x69
> [<c1052f7b>] warn_slowpath_common+0x8b/0xc0
> [<f9c30225>] ? ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]
> [<f9c30225>] ? ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]
> [<c1052fe3>] warn_slowpath_fmt+0x33/0x40
> [<f9c30225>] ieee80211_can_queue_work.isra.11+0x35/0x50 [mac80211]
> [<f9c30260>] ieee80211_queue_work+0x20/0x40 [mac80211]
> [<f9f25d78>] b43_led_brightness_set+0x28/0x30 [b43]
> [<c14f3835>] led_timer_function+0xd5/0xe0
> [<c10cb534>] call_timer_fn+0xa4/0x4a0
>
> Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Thanks, applied to wireless-drivers-next.git.
Kalle Valo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-23 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 14:34 [PATCH] b43: stop leds during suspend Sabrina Dubroca
2015-01-23 17:41 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).