1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-01-30 14:01:05 +02:00
Werner Almesberger f9681e5b4f atusb/fw/usb/atu2.c: use implicit race-free "and" when writing to UDINT/UEINTX
The old code could accidently acknowledge interrupts that appeared
between the read and the write in UxINTx &= mask.

- atu2.c (handle_ep): writing to UEINTX implies a race-free "and"
- atu2.c (usb_poll): writing to UDINT implies a race-free "and"
2011-06-11 08:16:23 -03:00
..
2011-03-23 13:08:48 -03:00