usb: chipidea: isr_reset_handler fix missing locking
Move spin_lock under the done label, so the lock will also be pulled in the error paths. Signed-off-by: NMichael Grzeschik <m.grzeschik@pengutronix.de> [rebased on top of the patchset] Signed-off-by: NAlexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录