From: Ming Lei Date: Mon, 1 Nov 2010 14:11:54 +0000 (-0700) Subject: usbnet: fix usb_autopm_get_interface failure(v1) X-Git-Tag: v2.6.37-rc2~85^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0786b430c982dffbb44d8030e6b6088671ce745;p=pandora-kernel.git usbnet: fix usb_autopm_get_interface failure(v1) Since usbnet already took usb runtime pm, we have to enable runtime pm for usb interface of usbnet, otherwise usb_autopm_get_interface may return failure and cause 'ifconfig usb0 up' failed if USB_SUSPEND(RUNTIME_PM) is enabled. Cc: David Brownell Cc: Greg Kroah-Hartman Cc: "David S. Miller" Cc: Ben Hutchings Cc: Joe Perches Cc: Oliver Neukum Cc: Andy Shevchenko Cc: stable@kernel.org Signed-off-by: Ming Lei Signed-off-by: David S. Miller --- Reading git-diff-tree failed