commit | 0547fad2dd7ccaaf3c914ba49073fa37e4e241eb | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Tue Nov 06 04:53:04 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 07 03:53:38 2012 -0500 |
tree | 5434c18a01f9c4591c74e0bda596f1d4b29ddd6b | |
parent | ef468d234753aff7afa96075d3be135b0df1ded0 [diff] |
usbnet: introduce usbnet_{read|write}_cmd_nopm This patch introduces the below two helpers to prepare for solving the usbnet runtime PM problem, which may cause some network utilities (ifconfig, ethtool,...) touch a suspended device. usbnet_read_cmd_nopm() usbnet_write_cmd_nopm() The above two helpers should be called by usbnet resume/suspend callback to avoid deadlock. Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>