commit | 47bbea4171025c96e80f7ded7595697a2cb56552 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Tue Nov 06 04:53:05 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 07 03:53:38 2012 -0500 |
tree | 82cb71be89c16ac802e493aedecc381f401f7342 | |
parent | 0547fad2dd7ccaaf3c914ba49073fa37e4e241eb [diff] |
usbnet: smsc75xx: 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>