ALSA : au88x0 - Limit number of channels to fix Oops via OSS emu
commitd9ab344336f74c012f6643ed3d1ad8ca0136de3b
authorRaymond Yau <superquad.vortex2@gmail.com>
Sun, 16 Jan 2011 02:55:54 +0000 (16 10:55 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Jan 2011 10:04:01 +0000 (17 11:04 +0100)
tree5a858bfefef38b288af7f9e94f1bb3a5714eedef
parent3e8b3b90fecedcf20d895c4e6ad01a379fe252bf
ALSA : au88x0 - Limit number of channels to fix Oops via OSS emu

Fix playback/capture channels patch to change supported playback
channels of au8830 to 1,2,4 and capture channels to 1,2.
This prevent oops when oss emulation use SNDCTL_DSP_CHANNELS to
set 3 Channels

Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/au88x0/au88x0_pcm.c