ALSA: allocation may fail in snd_pcm_oss_change_params()
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 31 Aug 2009 14:32:12 +0000 (16:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 31 Aug 2009 14:33:23 +0000 (16:33 +0200)
commitcbbb05703da4b205bb17fde555d3b2926d8b3194
tree624bf0586117f66cd1301a8c1027ac76764c46ff
parentf1d269bac24e5ddb3a0650aaeb4117aa806b99f1
ALSA: allocation may fail in snd_pcm_oss_change_params()

Allocation may fail, show if it did.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
[Additional fix for invalid runtime->oss.prepare flag set by tiwai]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_oss.c