]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: check WORK_ENABLE in suspend function
authorhayeswang <hayeswang@realtek.com>
Wed, 29 Oct 2014 03:12:17 +0000 (11:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 19:49:00 +0000 (15:49 -0400)
commit4a1a5912488e502a2f71d7264d15c2e5d47f63c8
tree11c87eb8affe17bacfb56ac2b1c5f553d441e3db
parent187b80b5fee2ca8ca47b3812f3b103eb2e120bff
r8152: check WORK_ENABLE in suspend function

Avoid unnecessary behavior when autosuspend occurs during open().
The relative processes should only be run after finishing open().

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c