ALSA : au88x0 - Limit number of channels to fix Oops via OSS emu
authorRaymond Yau <superquad.vortex2@gmail.com>
Sun, 16 Jan 2011 02:55:54 +0000 (10:55 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:36:57 +0000 (15:36 -0800)
commit6b7efe67a438a783fe5dbb08500fbd17102172b2
tree65b4e4d666170260da059f27f3783744e43204a5
parent00fac7c1a420f8e48a2f70c37bdb8c80c73d5c01
ALSA : au88x0 - Limit number of channels to fix Oops via OSS emu

commit d9ab344336f74c012f6643ed3d1ad8ca0136de3b upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/au88x0/au88x0_pcm.c