diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-08-10 10:05:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-08-10 13:15:43 +0200 |
commit | 5e8e7c38533a8f86626e9410fa38f5854a6959df (patch) | |
tree | d5d3b55d750a3225720f56eb71b2d0dba16fc8fd /kernel | |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions