From: hayeswang Date: Fri, 17 Oct 2014 08:55:08 +0000 (+0800) Subject: r8152: return -EBUSY for runtime suspend X-Git-Tag: fixes-against-v3.18-rc2~61^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cc69f2a404dea8641d6cf97c0fbe8d24579e259;p=pandora-kernel.git r8152: return -EBUSY for runtime suspend 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed