Re: [U-Boot] [PATCH] usb: ohci: ohci-da8xx: Cleanup Error handling and fix flags

2019-05-10 Thread Tom Rini
On Tue, May 07, 2019 at 06:57:39AM -0500, Adam Ford wrote: > Per feedback from Marek, he suggested better handling and > to enable DM_FLAG_OS_PREPARE, this patch re-orders some of > the error checking, and errors returns the error code right > away and also sets DM_FLAG_OS_PREPARE. > >

[U-Boot] [PATCH] usb: ohci: ohci-da8xx: Cleanup Error handling and fix flags

2019-05-07 Thread Adam Ford
Per feedback from Marek, he suggested better handling and to enable DM_FLAG_OS_PREPARE, this patch re-orders some of the error checking, and errors returns the error code right away and also sets DM_FLAG_OS_PREPARE. Signed-off-by: Adam Ford diff --git a/drivers/usb/host/ohci-da8xx.c