commit | e831d80b453a3586f1e1664a705c153a4ced39b8 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jan 13 10:13:17 2011 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jan 25 21:20:23 2011 +0000 |
tree | 7c6a48a62f299e8bdca946490571b176658831ac | |
parent | b60fb519d7977e606621af85585c3677fc290ef8 [diff] |
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 <rmk+kernel@arm.linux.org.uk>