summaryrefslogtreecommitdiffstats
path: root/sound/arm/pxa2xx-pcm-lib.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-11-06 12:15:25 +0100
committerTakashi Iwai <tiwai@suse.de>2014-11-06 12:17:29 +0100
commit9bc889b4ba88a3f2d81e4b799d47d71d7381573a (patch)
tree7057d633bf148db9b443eccda3c69513db92ab38 /sound/arm/pxa2xx-pcm-lib.c
parent19566b0bd93c34e4941822ed3c0d76a5abddcf82 (diff)
downloadop-kernel-dev-9bc889b4ba88a3f2d81e4b799d47d71d7381573a.zip
op-kernel-dev-9bc889b4ba88a3f2d81e4b799d47d71d7381573a.tar.gz
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 <tiwai@suse.de>
Diffstat (limited to 'sound/arm/pxa2xx-pcm-lib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud