[ALSA] Handle the error correctly in SNDCTL_DSP_SETFMT ioctl
authorSteven Finney <sfinney@healthhero.com>
Thu, 13 Apr 2006 10:49:31 +0000 (12:49 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 27 Apr 2006 19:10:06 +0000 (21:10 +0200)
commit5c59e09d7e51f5781439aa6f1963076568fd1f4f
tree814d6aac2cfd5fa1b38721ae0ac1ac515a819e7a
parentbc56eff1279d2f33a6afe74a673360ae1cd0d838
[ALSA] Handle the error correctly in SNDCTL_DSP_SETFMT ioctl

Handle the error returned from snd_pcm_oss_get_formats() correctly
in SNDCTL_DSP_SETFMT ioctl handler of PCM OSS emulation.

Signed-off-by: Steven Finney <sfinney@healthhero.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_oss.c