Files
linux/drivers/usb/host
Yang Yingliang 5a569343e8 usb/max3421: fix return error code in max3421_probe()
retval may be reassigned to 0 after max3421_of_vbus_en_pin(),
if allocate memory failed after this, max3421_probe() cann't
return ENOMEM, fix this by moving assign retval afther max3421_probe().

Fixes: 721fdc83b3 ("usb: max3421: Add devicetree support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20201117061500.3454223-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-18 12:53:45 +01:00
..
2020-11-14 00:28:16 +01:00
2019-06-03 16:00:08 +02:00
2020-11-02 10:04:07 +01:00
2020-08-18 12:12:54 +02:00
2020-05-19 14:11:55 +02:00
2020-08-31 07:11:45 +02:00
2020-11-02 10:04:07 +01:00