Skip to content
Snippets Groups Projects
Commit 785c1347 authored by Timo Ketola's avatar Timo Ketola Committed by Markus Klotzbuecher
Browse files

Bugfix: Use only one PTD for one endpoint


Original isp116x-hcd code prepared multiple PTDs for longer than 16
byte transfers for one endpoint. That is unnecessary because the
ISP116x is able to split long data from one PTD into multiple
transactions based on the buffer size of the endpoint. It also caused
serious problems if the endpoint NAKed some of the transactions. In
that case ISP116x wouldn't notice that the other PTDs were for the same
endpoint and would try the other PTDs possibly out of order. That would
break the whole transfer.

This patch makes isp116x_submit_job to use one PTD for one transfer.

Signed-off-by: default avatarTimo Ketola <timo.ketola@exertus.fi>
Signed-off-by: default avatarMarkus Klotzbuecher <mk@denx.de>
parent 86ec86c0
No related branches found
No related tags found
No related merge requests found
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