From: Julien DELACOU Date: Wed, 20 Nov 2013 16:29:49 +0000 (+0100) Subject: staging: dwc2: add check on dwc2_core_reset return X-Git-Tag: v3.14-rc1~150^2~751 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb7e592bcfd750951c47580494f13065f0fd44c;p=pandora-kernel.git staging: dwc2: add check on dwc2_core_reset return If the GRSTCTL_CSFTRST self-clearing bit never comes back to 0 for any reason, the controller is under reset state and cannot be used. It's preferable to abort initialization in such case. Signed-off-by: Julien Delacou Acked-by: Paul Zimmerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed