summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2020-04-24 16:40:48 +0200
committerJerzy Kasenberg <[email protected]>2020-04-24 17:38:30 +0200
commitb949ae596f72213788a7a762d2a8af696f64b3d0 (patch)
treef13eb8eda69a1313ed46b636360b9e8ec879b382 /src/common
parentc59fa774274b13790a3ae0fc19d9651eeba560ab (diff)
synopsys: Reduce interrupt time for IN ZLP
For IN endpoints output FIFO is filled in interrupt, therefor before endpoint is enabled, DIEPTSIZ is set with correct size of packet. Then endpoint is enabled and FIFO empty interrupt is enabled. This works fine except for the ZLP. Enabling FIFO empty interrupt results in interrupt handler being called all the time because there is nothing to put in the FIFO. Eventually it ends when IN token is received and empty packed is transmitted out. This change does not enable FIFO empty interrupt for ZLP reducing CPU load.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions