Skip to content
Snippets Groups Projects
Commit e06a055b authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Remy Bohmer
Browse files

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: default avatarSergei Shtylyov <sshtylyov@mvista.com>
parent 6d313c84
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment