ALSA: seq: Fix poll() error return

commit a49a71f6e2 upstream.

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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.16: s/EPOLLERR/POLLERR/]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Takashi Iwai 2018-07-25 16:34:12 +02:00 • committed by Ben Hutchings
commit 1e5b77503c
2 changed files with 2 additions and 2 deletions