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)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:52:57 +0000 (16:52 +0200)
commit100303cbf6a89ebca471b80e51c3b4883fc1de0c
tree7373689d77b8e8e9df914dcabf948abf7d3d8ec7
parentafa75eeb4c55f00a3d0a92033c390bcf9c8e2560
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