From: Ming Lei Date: Fri, 15 Mar 2013 04:08:55 +0000 (+0800) Subject: USBHID: don't recover device if suspend fails in system sleep X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~223 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37093b7017a281b85dc523fdcf99418a564e1cd4;p=pandora-kernel.git USBHID: 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 the system sleep go ahead further, so this patch doesn't recover device under this situation, otherwise may cause resume() confused. Acked-by: Jiri Kosina Signed-off-by: Ming Lei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed