]> git.karo-electronics.de Git - linux-beck.git/commit
usb: musb: am35x: fix error return code in am35x_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 13 Sep 2016 02:48:35 +0000 (21:48 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Sep 2016 15:20:02 +0000 (17:20 +0200)
commit48fed03b4b37f03f469333269fec50b2b41ed7fb
tree12c7a351473fe1e38aab436fbeb0c83c410f2f61
parent947c49afe41fca4c062a8a780b0e003115d7238c
usb: musb: am35x: fix error return code in am35x_probe()

Fix to return a negative error code from the usb_phy_generic_register()
error handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/am35x.c