diff options
author | Peter Chen <peter.chen@nxp.com> | 2020-11-26 14:02:38 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-11-30 13:48:32 +0800 |
commit | 6b8137517e70f6e96d0251a98930b1f29d0be161 (patch) | |
tree | 254587ebde7ceb53ed4231f080186caddd1b434b /kernel | |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions