diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-15 23:36:38 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-16 11:22:42 +0300 |
commit | 5def90196b52d0bbec4f662448e25f2a4c06ddbc (patch) | |
tree | 6159e0ca5fcc5fd4b2868690b7088ceca59adbc9 /kernel/reboot.c | |
parent | b9bacf275ca2eeb8e8fa85c1705d07e2475f1aaa (diff) | |
download | linux-5def90196b52d0bbec4f662448e25f2a4c06ddbc.tar.xz |
ALSA: x86: Use snd_pcm_stop_xrun() for connection / disconnection paths
This seems more friendly to user-space, as it's notified at least as
an error, instead of forcibly moving the PCM state to SETUP out of
sudden.
Moreover, snd_pcm_stop() needs an extra PCM spinlock I forgot, while
snd_pcm_stop_xrun() takes the spinlock by itself.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions