commit | ec32115db2bcb7133171c6a036107ca7eb62267f | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Tue Nov 06 04:53:07 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 07 03:53:38 2012 -0500 |
tree | d2b2ce13252fd4f4ead7901674109de6cf035466 | |
parent | 06a221be022c2cc98a48e0808a4ef0dc8f0b3a34 [diff] |
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>