Re: [U-Boot] [PATCH 11/22] musb: Allow musb_platform_enable to return an error code

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Allow musb_platform_enable to return an error code and propagate it up to usb_lowlevel_init(). This allows moving the checks for an external vbus being present to

Re: [U-Boot] [PATCH 11/22] musb: Allow musb_platform_enable to return an error code

2015-06-28 Thread Simon Glass
On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Allow musb_platform_enable to return an error code and propagate it up to usb_lowlevel_init(). This allows moving the checks for an external vbus being present to be moved from platform_init to platform_enable, so that the

[U-Boot] [PATCH 11/22] musb: Allow musb_platform_enable to return an error code

2015-06-17 Thread Hans de Goede
Allow musb_platform_enable to return an error code and propagate it up to usb_lowlevel_init(). This allows moving the checks for an external vbus being present to be moved from platform_init to platform_enable, so that the user can unplug a charger, plug in a host adapter with a usb-device, do a