diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-03-28 13:41:13 +0000 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-04-25 14:24:48 +0300 |
commit | a53097c2319c9df16dff6109392c50aa422265bf (patch) | |
tree | 27a8ca7e86b3f3546b307a709f014a94c745a983 /tools/perf/scripts/python/syscall-counts.py | |
parent | 0ebf2a2c02b0976e939e795b1b9a53d32aeac8bc (diff) |
usb: dwc2: pci: Fix error return code in dwc2_pci_probe()
Fix to return error code -ENOMEM from the alloc fail error handling
case instead of 0, as done elsewhere in this function.
Fixes: ecd29dabb2ba ("usb: dwc2: pci: Handle error cleanup in probe")
Reviewed-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions