]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ohci: change the NUM_EDs from 8 to 32
authorZeng Tao <prime.zeng@hisilicon.com>
Thu, 28 Jun 2018 17:54:19 +0000 (01:54 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 29 Jun 2018 08:52:12 +0000 (10:52 +0200)
commit7780d8151acd5a1bc275ac3e9f29f95d781fe457
tree7e4b259446a2519f3be70f987e0ed837c706dbe4
parent7ebffae44ecc17f6b8f68a62f2798aa30f769d00
usb: ohci: change the NUM_EDs from 8 to 32

For ohci, the maximam supported endpoint number is 32(in and out), and
now we have used (usb_pipeendpoint(pipe) << 1) to index the specified
endpoint descritor, usb_pipeendpoint(pipe) can reach 0xf, so we need
change the NUM_EDs from 8 to 32.

Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>
drivers/usb/host/ohci.h