mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 14:30:58 +07:00
e831d80b45
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> |
||
---|---|---|
.. | ||
aaci.c | ||
aaci.h | ||
Kconfig | ||
Makefile | ||
pxa2xx-ac97-lib.c | ||
pxa2xx-ac97.c | ||
pxa2xx-pcm-lib.c | ||
pxa2xx-pcm.c | ||
pxa2xx-pcm.h |