]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: seq: Fix poll() error return
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 14:34:12 +0000 (16:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2018 06:23:26 +0000 (08:23 +0200)
commit6a29f20fdd142807aeadad50f6a60cc40997fbc8
tree60cdbf6aab7c825eb1ed6fb81bd08cea18470f84
parent15b5fc8dbebc9cb2862c1ba4f0208f825940b5b0
ALSA: seq: Fix poll() error return

The sanity checks in ALSA sequencer and OSS sequencer emulation codes
return falsely -ENXIO from poll callback.  They should be EPOLLERR
instead.

This was caught thanks to the recent change to the return value.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/oss/seq_oss.c
sound/core/seq/seq_clientmgr.c