This is a note to let you know that I've just added the patch titled ALSA: pcm: Don't leave PREPARED state after draining to the 3.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: alsa-pcm-don-t-leave-prepared-state-after-draining.patch and it can be found in the queue-3.19 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 70372a7566b5e552dbe48abdac08c275081d8558 Mon Sep 17 00:00:00 2001 From: Takashi Iwai <tiwai@xxxxxxx> Date: Thu, 18 Dec 2014 10:02:41 +0100 Subject: ALSA: pcm: Don't leave PREPARED state after draining From: Takashi Iwai <tiwai@xxxxxxx> commit 70372a7566b5e552dbe48abdac08c275081d8558 upstream. When a PCM draining is performed to an empty stream that has been already in PREPARED state, the current code just ignores and leaves as it is, although the drain is supposed to set all such streams to SETUP state. This patch covers that overlooked case. Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- sound/core/pcm_native.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -1546,6 +1546,8 @@ static int snd_pcm_do_drain_init(struct if (! snd_pcm_playback_empty(substream)) { snd_pcm_do_start(substream, SNDRV_PCM_STATE_DRAINING); snd_pcm_post_start(substream, SNDRV_PCM_STATE_DRAINING); + } else { + runtime->status->state = SNDRV_PCM_STATE_SETUP; } break; case SNDRV_PCM_STATE_RUNNING: Patches currently in stable-queue which might be from tiwai@xxxxxxx are queue-3.19/alsa-oxfw-fix-a-condition-and-return-code-in-start_stream.patch queue-3.19/alsa-hda-disable-runtime-pm-for-panther-point-again.patch queue-3.19/alsa-pcm-don-t-leave-prepared-state-after-draining.patch queue-3.19/alsa-firewire-lib-remove-reference-counting.patch queue-3.19/alsa-fireworks-bebob-dice-oxfw-make-it-possible-to-shutdown-safely.patch queue-3.19/alsa-hda-controller-code-do-not-export-static-functions.patch queue-3.19/alsa-hda-add-pin-configs-for-asus-mobo-with-idt-92hd73xx-codec.patch queue-3.19/alsa-hda-one-more-dell-macine-needs-dell1_mic_no_presence-quirk.patch queue-3.19/alsa-fireworks-bebob-dice-oxfw-add-reference-counting-for-firewire-unit.patch queue-3.19/alsa-fireworks-bebob-dice-oxfw-allow-stream-destructor-after-releasing-runtime.patch queue-3.19/usb-serial-fix-tty-device-error-handling-at-probe.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html