Searched hist:"79 b5888729b65e7040d6a964f0015fc2c21b2385" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/common/ |
| H A D | usb_hub.c | 79b5888729b65e7040d6a964f0015fc2c21b2385 Wed Mar 25 18:22:01 UTC 2015 Simon Glass <sjg@chromium.org> dm: usb: Adjust usb_alloc_new_device() to return an error
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 <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
|
| H A D | usb.c | 79b5888729b65e7040d6a964f0015fc2c21b2385 Wed Mar 25 18:22:01 UTC 2015 Simon Glass <sjg@chromium.org> dm: usb: Adjust usb_alloc_new_device() to return an error
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 <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usb.h | 79b5888729b65e7040d6a964f0015fc2c21b2385 Wed Mar 25 18:22:01 UTC 2015 Simon Glass <sjg@chromium.org> dm: usb: Adjust usb_alloc_new_device() to return an error
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 <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
|