From: Felipe Balbi Date: Tue, 2 Sep 2014 20:19:43 +0000 (-0500) Subject: usb: dwc3: core: only reset res->start in case of error X-Git-Tag: omap-for-v4.1/fixes-rc1~167^2~55^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3da1f6ee3563f84395e5d334349a4c9e25d8cbcb;p=pandora-kernel.git usb: dwc3: core: only reset res->start in case of error That trick is only needed if we end up with an error, so there's no point in messing that outside of an error path. In fact doing so causes problems when removing dwc3.ko, problems which commit c5a1fbc (usb: dwc3: dwc3-omap: Fix the crash on module removal) mistakenly tried to fix. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed