commit | 6b8137517e70f6e96d0251a98930b1f29d0be161 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@nxp.com> | Thu Nov 26 14:02:38 2020 +0800 |
committer | Peter Chen <peter.chen@nxp.com> | Mon Nov 30 13:48:32 2020 +0800 |
tree | 254587ebde7ceb53ed4231f080186caddd1b434b | |
parent | 24fdaeeb294c14ea743ec99ada92380c060a428a [diff] |
usb: cdns3: core: fix goto label for error path The usb_role_switch_register has been already called, so if the devm_request_irq has failed, it needs to call usb_role_switch_unregister. Fixes: b1234e3b3b26 ("usb: cdns3: add runtime PM support") Signed-off-by: Peter Chen <peter.chen@nxp.com>