Files
linux/drivers
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-12 13:59:04 -07:00
2020-10-28 19:12:03 +01:00
2020-11-11 09:53:09 +01:00
2020-10-20 10:36:41 -07:00
2020-10-27 19:23:04 +01:00
2020-11-09 08:17:46 +01:00