From: hayeswang Date: Wed, 31 Jul 2013 09:21:23 +0000 (+0800) Subject: net/usb/r815x: avoid to call mdio functions for runtime-suspended device X-Git-Tag: v3.11-rc4~5^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b771721a748875e3654debdf68ad4708477f18c4;p=pandora-kernel.git net/usb/r815x: avoid to call mdio functions for runtime-suspended device Don't replace the usb_control_msg() with usbnet_{read,write}_cmd() which couldn't be called inside suspend/resume callback. Keep the basic functions unlimited. Instead, using usb_autopm_get_interface() and usb_autopm_put_interface() in r815x_mdio_{read,write}(). Signed-off-by: Hayes Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed