ALSA: ice1724 - Dynamic MIDI TX irq control
authorTakashi Iwai <tiwai@suse.de>
Wed, 12 Nov 2008 15:42:44 +0000 (16:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Feb 2009 16:22:31 +0000 (17:22 +0100)
commite683ec4697c74c7d04ff8e90ec625ac34e25a7d8
tree982e73c3f194843130c68bf86316a0502dcab24e
parent18e352e4a73465349711a9324767e1b2453383e2
ALSA: ice1724 - Dynamic MIDI TX irq control

MIDI_TX IRQ seems always pending when any bytes on FIFO is available.
Thus, it's better to enable MPU_TX only when any bytres are really
stored in the substream, and disables immediately when the queue
becomes empty.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1724.c