Searched hist:"3 f6e9bd9ffd441c85331e40afe0782407528840e" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/board/compulab/cm_t54/ |
| H A D | cm_t54.c | 3f6e9bd9ffd441c85331e40afe0782407528840e Wed Nov 22 16:15:17 UTC 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> UPSTREAM: usb: hub: identify the hub-device to usb_hub_reset_devices
When usb_hub_reset_devices is called, it should be passed both an indicator which hub it should operate on and what port number (local to that hub) should be reset.
Previously, the usb_hub.c code did not include such context and always started resets from port number 1, performing multiple reset-requests for the same devices:
/* * Reset any devices that may be in a bad state when applying * the power. This is a __weak function. Resetting of the devices * should occur in the board file of the device. */ for (i = 0; i < dev->maxchild; i++) usb_hub_reset_devices(i + 1);
This adds an additional 'hub' parameter to usb_hub_reset_devices that provides the context to fully qualify the port-number in.
Existing implementations are changed to accept and ignore the new parameter.
Change-Id: I2f201cb9c52522f6e553cbf54aae9bbb2e549a21 Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 883946e8e7c5dacb5e12f18703e20d49a4886f0e)
|
| /rk3399_rockchip-uboot/board/ti/omap5_uevm/ |
| H A D | evm.c | 3f6e9bd9ffd441c85331e40afe0782407528840e Wed Nov 22 16:15:17 UTC 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> UPSTREAM: usb: hub: identify the hub-device to usb_hub_reset_devices
When usb_hub_reset_devices is called, it should be passed both an indicator which hub it should operate on and what port number (local to that hub) should be reset.
Previously, the usb_hub.c code did not include such context and always started resets from port number 1, performing multiple reset-requests for the same devices:
/* * Reset any devices that may be in a bad state when applying * the power. This is a __weak function. Resetting of the devices * should occur in the board file of the device. */ for (i = 0; i < dev->maxchild; i++) usb_hub_reset_devices(i + 1);
This adds an additional 'hub' parameter to usb_hub_reset_devices that provides the context to fully qualify the port-number in.
Existing implementations are changed to accept and ignore the new parameter.
Change-Id: I2f201cb9c52522f6e553cbf54aae9bbb2e549a21 Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 883946e8e7c5dacb5e12f18703e20d49a4886f0e)
|
| /rk3399_rockchip-uboot/common/ |
| H A D | usb_hub.c | 3f6e9bd9ffd441c85331e40afe0782407528840e Wed Nov 22 16:15:17 UTC 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> UPSTREAM: usb: hub: identify the hub-device to usb_hub_reset_devices
When usb_hub_reset_devices is called, it should be passed both an indicator which hub it should operate on and what port number (local to that hub) should be reset.
Previously, the usb_hub.c code did not include such context and always started resets from port number 1, performing multiple reset-requests for the same devices:
/* * Reset any devices that may be in a bad state when applying * the power. This is a __weak function. Resetting of the devices * should occur in the board file of the device. */ for (i = 0; i < dev->maxchild; i++) usb_hub_reset_devices(i + 1);
This adds an additional 'hub' parameter to usb_hub_reset_devices that provides the context to fully qualify the port-number in.
Existing implementations are changed to accept and ignore the new parameter.
Change-Id: I2f201cb9c52522f6e553cbf54aae9bbb2e549a21 Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 883946e8e7c5dacb5e12f18703e20d49a4886f0e)
|