]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:44:49 +0000 (12:44 -0700)
commitc59b7f8316082c2c44fde4de7007ebca5d2169b7
tree24d6dd3741333acf645edcb8270f2fa7f675004e
parent1f5b107fd55a5dcc94b1a2161221cba3e53fc4ba
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