diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-13 10:13:17 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-25 21:20:23 +0000 |
commit | e831d80b453a3586f1e1664a705c153a4ced39b8 (patch) | |
tree | 7c6a48a62f299e8bdca946490571b176658831ac /net/key | |
parent | b60fb519d7977e606621af85585c3677fc290ef8 (diff) | |
download | linux-e831d80b453a3586f1e1664a705c153a4ced39b8.tar.bz2 |
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>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions