commit | 5e8e7c38533a8f86626e9410fa38f5854a6959df | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Mon Aug 10 10:05:23 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Aug 10 13:15:43 2009 +0200 |
tree | d5d3b55d750a3225720f56eb71b2d0dba16fc8fd | |
parent | ed680c4ad478d0fee9740f7d029087f181346564 [diff] |
sound: fix OSS MIDI output data loss In the 2.1.6 kernel, the output loop in midi_poll() was changed to enable interrupts during the outputc() call. Unfortunately, the check whether the device has accepted the current byte ("ok") was moved behind the code that removes the byte from the output queue, so one byte would be lost every time the hardware FIFO is full. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>