summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/usbnet.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-11-06 05:53:07 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-07 09:53:38 +0100
commitec32115db2bcb7133171c6a036107ca7eb62267f (patch)
treed2b2ce13252fd4f4ead7901674109de6cf035466 /drivers/net/usb/usbnet.c
parentusbnet: smsc95xx: fix memory leak in smsc95xx_suspend (diff)
downloadlinux-ec32115db2bcb7133171c6a036107ca7eb62267f.tar.xz
linux-ec32115db2bcb7133171c6a036107ca7eb62267f.zip
usbnet: smsc95xx: apply the introduced usbnet_{read|write}_cmd_nopm
This patch applies the introduced usbnet_read_cmd_nopm() and usbnet_write_cmd_nopm() in the callback of resume and suspend to avoid deadlock if USB runtime PM is considered into usbnet_read_cmd() and usbnet_write_cmd(). Cc: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
0 files changed, 0 insertions, 0 deletions