mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
usb: fusbh200-hcd: fix error handling in fusbh200_hcd_fusbh200_probe()
Fix to release all resources when fusbh200_setup() fail instead of only return error. Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
5462b0db83
commit
244435b8ee
1 changed files with 1 additions and 1 deletions
|
|
@ -5864,7 +5864,7 @@ static int fusbh200_hcd_fusbh200_probe(struct platform_device *pdev)
|
|||
|
||||
retval = fusbh200_setup(hcd);
|
||||
if (retval)
|
||||
return retval;
|
||||
goto fail_add_hcd;
|
||||
|
||||
fusbh200_init(fusbh200);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue