diff options
author | Peter Chen <peter.chen@nxp.com> | 2020-11-26 09:02:38 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-11-30 08:48:32 +0300 |
commit | 6b8137517e70f6e96d0251a98930b1f29d0be161 (patch) | |
tree | 254587ebde7ceb53ed4231f080186caddd1b434b /lib/test_overflow.c | |
parent | 24fdaeeb294c14ea743ec99ada92380c060a428a (diff) | |
download | linux-6b8137517e70f6e96d0251a98930b1f29d0be161.tar.xz |
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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions