• Pierre Ossman's avatar
    sdio: adaptive interrupt polling · 6f4285d1
    Pierre Ossman authored
    The interrupt polling frequency is a compromise between power usage and
    interrupt latency. Unfortunately, it affects throughput rather severely
    for devices which require an interrupt for every chunk of data.
    
    By making the polling frequency adaptive, we get better throughput with
    those devices without sacficing too much power. Polling will quickly
    increase when there is an actual interrupt, and slowly fall back to the
    idle frequency when the interrupts stop coming.
    Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
    6f4285d1
sdio_irq.c 6.22 KB