summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Goode2014-06-04 07:02:51 +0200
committerTakashi Iwai2014-06-04 07:12:12 +0200
commit21fd3e956ee8a307a06bc6e095f5767a00eb2a7e (patch)
tree9656b152c0556e280c58a1685eb5c3ad0fce23c0 /lib
parentASoC: Fix wrong argument for card remove callbacks (diff)
downloadkernel-qcow2-linux-21fd3e956ee8a307a06bc6e095f5767a00eb2a7e.tar.gz
kernel-qcow2-linux-21fd3e956ee8a307a06bc6e095f5767a00eb2a7e.tar.xz
kernel-qcow2-linux-21fd3e956ee8a307a06bc6e095f5767a00eb2a7e.zip
ALSA: seq: correctly detect input buffer overflow
snd_seq_event_dup returns -ENOMEM in some buffer-full conditions, but usually returns -EAGAIN. Make -EAGAIN trigger the overflow condition in snd_seq_fifo_event_in so that the fifo is cleared and -ENOSPC is returned to userspace as stated in the alsa-lib docs. Signed-off-by: Adam Goode <agoode@google.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions