• Takashi Sakamoto's avatar
    ALSA: oxfw: use workqueue instead of tasklet for scs1x · ea790053
    Takashi Sakamoto authored
    This commit replaces tasklet with workqueue for scs1x functionality of
    ALSA oxfw driver.
    
    This driver transfers MIDI message specific for SCS.1m and SCS.1d. This
    task is currently done in software IRQ context of tasklet. In a view of
    system, this context is limited resources and some important drivers (at
    least, more important than ALSA oxfw driver) use the context as its
    bottom-harf.
    
    If the work to transfer MIDI messages is done within a time, it's better
    to use the other context for the work. Actually, with recent CPUs, the
    work will be scheduled within a time. This is a reason of this commit.
    Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    ea790053
oxfw-scs1x.c 9.98 KB