2d1155478f
The hardware offers a 4-bit register containing the number of host
channels. However, the values of these register mean 1-16 host channels,
not 0-15. Since the dwc2_hw_params struct stores the actual number of
host channels supported instead of the raw register value, it should be
5 bits wide instead of 4.
Before this commit, hardware with 16 host channels would overflow the
field, making it appear as 0 channels.
This bug was introduced in commit
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
TODO | ||
core.c | ||
core.h | ||
core_intr.c | ||
hcd.c | ||
hcd.h | ||
hcd_ddma.c | ||
hcd_intr.c | ||
hcd_queue.c | ||
hw.h | ||
pci.c | ||
platform.c |