summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/isp116x-hcd.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-09-08 17:52:47 -0600
committerSimon Glass <sjg@chromium.org>2015-10-21 07:46:25 -0600
commit4d21455e09f950d543954c5113f379208f11988e (patch)
tree47d51671e347fc6c9807333c2323eb03881a3992 /drivers/usb/host/isp116x-hcd.c
parent836ac74c29b04a18fc51c92a18e383cf18a36d63 (diff)
downloadtalos-obmc-uboot-4d21455e09f950d543954c5113f379208f11988e.tar.gz
talos-obmc-uboot-4d21455e09f950d543954c5113f379208f11988e.zip
dm: pci: Tidy up auto-config error handling
When the auto-configuration process fails for a device (generally due to lack of memory) we should return the error correctly so that we don't continue to try memory allocations which will fail. Adjust the code to check for errors and abort if something goes wrong. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/usb/host/isp116x-hcd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud