commit | 9de4ac4a5334faad1e153799de5949bf833643e0 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Sat Feb 27 21:32:17 2010 +0300 |
committer | Remy Bohmer <linux@bohmer.net> | Thu Apr 08 21:39:59 2010 +0200 |
tree | 299fb689b13deb038b1cfec7004203cc6a904208 | |
parent | fa30a2775952e8f4318534c2aa4fb789f4bd445c [diff] |
EHCI: fix off-by-one error in ehci_submit_root() USB devices on the 2nd port are not detected and I get the following message: The request port(1) is not configured That's with default CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS value of 2. 'req->index' is 1-based, so the comparison in ehci_submit_root() can't be correct. Signed-off-by: Sergei Shtylyov <sshtylyov@mvista.com>