From: Takashi Iwai Date: Thu, 6 Nov 2014 11:15:25 +0000 (+0100) Subject: ALSA: pcm: Update the state properly before notification X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~21^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc889b4ba88a3f2d81e4b799d47d71d7381573a;p=pandora-kernel.git ALSA: pcm: Update the state properly before notification Some state changes (e.g. snd_pcm_stop()) sets the runtime state after calling snd_timer_notify(). This is basically racy, since the notification may wakes up the user even before the state change. Although the possibility is low, we should set the state before the notifications. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed