ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation
authorTakashi Iwai <tiwai@suse.de>
Tue, 9 Jan 2018 07:51:02 +0000 (08:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:34:15 +0000 (09:34 +0200)
commit8ede8ba723630f9200f72f5cb63900a42b5799f8
treee04da2639a874f7d8d8f68af213b7e35802dd97b
parent502b50e87038e63011dbe83f210292b1c505b6c9
ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation

commit c64ed5dd9feba193c76eb460b451225ac2a0d87b upstream.

Fix the last standing EINTR in the whole subsystem.  Use more correct
ERESTARTSYS for pending signals.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/oss/pcm_oss.c