From: Ming Lei Date: Fri, 15 Mar 2013 04:08:58 +0000 (+0800) Subject: usbnet: smsc95xx: don't recover device if suspend fails in system sleep X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~220 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d41be53f0a65c52f3099d9a4b4fa6e1bca07be8;p=pandora-kernel.git usbnet: smsc95xx: don't recover device if suspend fails in system sleep If suspend callback fails in system sleep context, usb core will ignore the failure and let system sleep go ahead further, so this patch doesn't recover device under this situation. Also add comments on the case. Acked-by: David S. Miller Cc: Steve Glendinning Signed-off-by: Ming Lei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed