usb: host: xhci-tegra: Fix error return code in tegra_xusb_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 10 Sep 2016 11:54:03 +0000 (11:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Sep 2016 15:24:24 +0000 (17:24 +0200)
commitb175b38a0fa6767e1eae2e94b9d5f81d7342850a
tree8a8cd22df82e8192b5f857b71c77c342511fddac
parent36ae6776e42de0f9c3d5039dad466642fa2341fa
usb: host: xhci-tegra: Fix error return code in tegra_xusb_probe()

Fix to return error code -ENOMEM from the usb_create_shared_hcd()
error handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c