Skip to content
Unverified Commit 6b813751 authored by Peter Chen's avatar Peter Chen
Browse files

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: b1234e3b ("usb: cdns3: add runtime PM support")
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent 24fdaeeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment