summaryrefslogtreecommitdiff
path: root/host/opcd_sh.c
diff options
context:
space:
mode:
authorMin Xu <min.xu@min-info.net>2014-10-25 20:39:28 +0200
committerHarald Welte <laforge@gnumonks.org>2014-11-11 22:30:54 +0100
commite39637e1b816d841e94f2a32f9bf18e0ee89269e (patch)
tree169c220b7a5c2e84a029c3f40bf8f3d1c0ef8cf6 /host/opcd_sh.c
parent7fcc62940d35ae31bdf5e5ebdd5ca55c8f4429c2 (diff)
pcd_enumerate: Avoid disabling interrupt during endpoint refill
The old implementation has a big local_irq_save() / restore() around the endpoint re-fill routine. This disables interrupts for a long time, psossibly causing lost interrupts. The new implementation works around this by disabling the USB (UDP) interrupt only, rather than disabling all interrupts on the system.
Diffstat (limited to 'host/opcd_sh.c')
0 files changed, 0 insertions, 0 deletions
personal git repositories of Harald Welte. Your mileage may vary