From: Russell King Date: Thu, 13 Jan 2011 10:13:17 +0000 (+0000) Subject: ALSA: AACI: fix number of channels for record X-Git-Tag: v2.6.39-rc1~435^3~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e831d80b453a3586f1e1664a705c153a4ced39b8;p=pandora-kernel.git ALSA: AACI: fix number of channels for record AC'97 codecs only support two channels for recording, so we shouldn't advertize that there are up to six channels available. Limit the selection of 4 and 6 channel audio to playback only. As this adds additional SNDRV_PCM_STREAM_PLAYBACK conditionals, we can combine some resulting in the elimination of __aaci_pcm_open() entirely, and making the code easier to read. Signed-off-by: Russell King --- Reading git-diff-tree failed