On 25 March 2015 at 12:22, Simon Glass <s...@chromium.org> wrote: > This function returns NULL on error at present. Adjust it so that we can > return a real error, as is needed with driver model. Also improve the > error handling in its caller, usb_hub_port_connect_change(), and adjust > the code order to prepare for driver model. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v2: None > > common/usb.c | 17 ++++++++--------- > common/usb_hub.c | 41 ++++++++++++++++++++++++++--------------- > include/usb.h | 20 ++++++++++++++++++-- > 3 files changed, 52 insertions(+), 26 deletions(-)
Applied to u-boot-dm/next. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot