]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:57:46 +0000 (11:57 -0700)
commitc04265109cbe48d623bda599e96a3e9fa7b51db7
tree97e4ca4d0e868034b1f7deff35b36b2641c006af
parent9e5ad61f8d81da0b58535ac2cf60d36e26ca567a
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
sound/pci/au88x0/au88x0_pcm.c