Thread (3 messages) flat view 3 messages, 2 authors, 2014-10-20

RE: [PATCH net] r8152: use cancel_delayed_work for runtime suspend

From: Hayes Wang <hidden>
Date: 2014-10-20 02:19:54
Also in: lkml

 Oliver Neukum [mailto:oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org] 
Sent: Sunday, October 19, 2014 3:48 AM
[...]
The diagnosis is good, the fix is not good. It opens a race
during which the queued work can touch a suspended device.
The delayed work would wake up the device by
calling usb_autopm_get_interface() before
accessing the device. Besides, there is a mutex
to avoid the race.
 
Best Regards,
Hayes
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help