From: Ming Lei Date: Tue, 6 Nov 2012 04:53:04 +0000 (+0000) Subject: usbnet: introduce usbnet_{read|write}_cmd_nopm X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~429 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0547fad2dd7ccaaf3c914ba49073fa37e4e241eb;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed