summaryrefslogtreecommitdiff
path: root/sound/pci/ice1712/envy24ht.h
diff options
context:
space:
mode:
authorPavel Hofman <pavel.hofman@ivitera.com>2012-01-10 23:45:28 +0400
committerTakashi Iwai <tiwai@suse.de>2012-01-11 11:56:59 +0400
commitffd364ddd3090e2ef0d4882970c1e342db8b482f (patch)
treee5a79a085725f3c3fea5a4465f5e6c33fdc2dffc /sound/pci/ice1712/envy24ht.h
parentf7de8ba3fcf19487d2f0af9aee0c510fc79efa15 (diff)
downloadlinux-ffd364ddd3090e2ef0d4882970c1e342db8b482f.tar.xz
ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations
Add the capture pcm only if there is at least one ADC configured in the SYSCONF register. Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/envy24ht.h')
-rw-r--r--sound/pci/ice1712/envy24ht.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/ice1712/envy24ht.h b/sound/pci/ice1712/envy24ht.h
index a0c5e009bb4a..4ca33a800bc8 100644
--- a/sound/pci/ice1712/envy24ht.h
+++ b/sound/pci/ice1712/envy24ht.h
@@ -66,6 +66,7 @@ enum {
#define VT1724_CFG_CLOCK384 0x40 /* 16.9344Mhz, 44.1kHz*384 */
#define VT1724_CFG_MPU401 0x20 /* MPU401 UARTs */
#define VT1724_CFG_ADC_MASK 0x0c /* one, two or one and S/PDIF, stereo ADCs */
+#define VT1724_CFG_ADC_NONE 0x0c /* no ADCs */
#define VT1724_CFG_DAC_MASK 0x03 /* one, two, three, four stereo DACs */
#define VT1724_REG_AC97_CFG 0x05 /* byte */