usb: phy: fix error handling in usb_get_phy
spin_unlock_irqrestore() was not being called in the error path of usb_get_phy. It's fixed here. Reported-by: NMarc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Signed-off-by: NFelipe Balbi <balbi@ti.com>
Showing
想要评论请 注册 或 登录