Searched hist:"9 c6a9d7c8be40f58cf3faf0a4b8d9d33a21ca4f5" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ehci-hcd.c | 9c6a9d7c8be40f58cf3faf0a4b8d9d33a21ca4f5 Wed May 15 07:29:20 UTC 2013 Kuo-Jung Su <dantesu@faraday-tech.com> usb: ehci: prevent bad PORTSC register access
1. The 'index' of ehci_submit_root() is not always > 0.
e.g. While it gets invoked from usb_get_descriptor(), the 'index' is always a '0'. (See ch.9 of USB2.0)
2. The PORTSC register is not always required, and thus it should only report a port error when necessary. It would cause a port scan failure if the ehci_submit_root() always gets terminated by a port error.
Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com> CC: Marek Vasut <marex@denx.de>
|