ALSA: pcm - Fix unbalanced pm_qos_request
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Sep 2010 20:52:32 +0000 (22:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Sep 2010 21:04:38 +0000 (23:04 +0200)
The pm_qos_request isn't freed properly when OSS PCM emulation is used
because it skips snd_pcm_hw_free() call but directly releases the
stream.  This resulted in Oops later.

Tested-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found