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

Re: [PATCH net] r8152: return -EBUSY for runtime suspend

From: David Miller <davem@davemloft.net>
Date: 2014-10-18 03:46:56
Also in: lkml

From: Hayes Wang <redacted>
Date: Fri, 17 Oct 2014 16:55:08 +0800
Remove calling cancel_delayed_work_sync() for runtime suspend,
because it would cause dead lock. Instead, return -EBUSY to
avoid the device enters suspending if the net is running and
the delayed work is pending or running. The delayed work would
try to wake up the device later, so the suspending is not
necessary.

Signed-off-by: Hayes Wang <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help