mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
tools/lib/: added interrupt_wait support to atusb and atusb-spi driver
- atusb-common.c (atusb_open): claim interface, so that we can do bulk I/O without complaints from the kernel - atusb-common.h (atusb_interrupt_wait), atusb-common.c: blocking read for interrupt status byte on EP1 - atusb.c (atusb_driver), atusb-spi.c (atusb_spi_driver): provide the interrupt_wait operation
This commit is contained in:
@@ -162,4 +162,5 @@ struct atrf_driver atusb_driver = {
|
||||
.sram_write = atusb_sram_write,
|
||||
.sram_read = atusb_sram_read,
|
||||
.interrupt = atusb_interrupt,
|
||||
.interrupt_wait = atusb_interrupt_wait,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user