From: Ming Lei Date: Tue, 6 Nov 2012 04:53:08 +0000 (+0000) Subject: usbnet: runtime wake up device before calling usbnet_{read|write}_cmd X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~425 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f0a0986e328dd61610d898a09c9f4aa960ae64a;p=pandora-kernel.git usbnet: runtime wake up device before calling usbnet_{read|write}_cmd This patch gets the runtime PM reference count before calling usbnet_{read|write}_cmd, and puts it after completion of the usbnet_{read|write}_cmd, so that the usb control message can always be sent to one active device in the non-PM context. Signed-off-by: Ming Lei Signed-off-by: David S. Miller --- Reading git-diff-tree failed