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:36:34 +0000 (09:36 +0200)
commit4d2ea307ffa16644127ba09de30cfb31f3f40c4a
tree3499b03b6915b8c482308b6b86e6087b9839c4b3
parent2ccdea040e81553aaaa9f380f0ff745f71d27eff
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