diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2013-06-13 18:59:54 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-18 00:45:47 +0400 |
commit | 2e270412968d961ecde347343ffa67dfe39f6c95 (patch) | |
tree | 43381431f6c6f19c594dccf4433a23cecd86be39 /include | |
parent | cc9e6c495b0a37cc4f7003e470bcbb15ea760377 (diff) | |
download | linux-2e270412968d961ecde347343ffa67dfe39f6c95.tar.xz |
usb: chipidea: udc: add multiple td support to hardware_{en,de}queue
This patch removes the restriction of having a limited amount of only
four active tds on one endpoint. We use the linked list implementation
to manage all tds which get added and removed by hardware_{en,de}queue.
The removal of this restriction adds the driver to run into a hardware
errata. It's possible that the hardware will still address an transfer
descriptor that already got cleaned up. To solve this the patch also
postpone the cleanup of processed tds by one.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions