summaryrefslogtreecommitdiff
path: root/sound/sh/Kconfig
diff options
context:
space:
mode:
authorJeffery Miller <jmiller@neverware.com>2018-04-21 07:20:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-01 22:58:16 +0300
commit00e0495d83277d43078aa99b3186cc527af792a5 (patch)
tree1a108be787512d460aa1a9e72d8b2f3dfa42ca9b /sound/sh/Kconfig
parent6ab1a94d17dbf959f5910f56edda84889f5ddd39 (diff)
downloadlinux-00e0495d83277d43078aa99b3186cc527af792a5.tar.xz
ALSA: pcm: Return negative delays from SNDRV_PCM_IOCTL_DELAY.
commit 912e4c332037e7ed063c164985c36fb2b549ea3a upstream. The commit c2c86a97175f ("ALSA: pcm: Remove set_fs() in PCM core code") changed SNDRV_PCM_IOCTL_DELAY to return an inconsistent error instead of a negative delay. Originally the call would succeed and return the negative delay. The Chromium OS Audio Server (CRAS) gets confused and hangs when the error is returned instead of the negative delay. Help CRAS avoid the issue by rolling back the behavior to return a negative delay instead of an error. Fixes: c2c86a97175f ("ALSA: pcm: Remove set_fs() in PCM core code") Signed-off-by: Jeffery Miller <jmiller@neverware.com> Cc: <stable@vger.kernel.org> # v4.13+ Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/sh/Kconfig')
0 files changed, 0 insertions, 0 deletions