• Stanislaw Gruszka's avatar
    rt2800mmio: use txdone/txstatus routines from lib · 0b0d556e
    Stanislaw Gruszka authored
    Use usb txdone/txstatus routines (now in rt2800libc) for mmio devices.
    
    Note this also change how we handle INT_SOURCE_CSR_TX_FIFO_STATUS
    interrupt. Now it is disabled since IRQ routine till end of the txstatus
    tasklet (the same behaviour like others interrupts). Reason to do not
    disable this interrupt was not to miss any tx status from 16 entries
    FIFO register. Now, since we check for tx status timeout, we can
    allow to miss some tx statuses. However this will be improved in further
    patch where I also implement read status FIFO register in the tasklet.
    Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    0b0d556e
rt2x00queue.c 33.4 KB