summaryrefslogtreecommitdiff
path: root/sound/pci/ca0106/ca0106.h
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-07-25 20:39:59 +0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 17:57:58 +0400
commit485100706b4b397f8072c756839878f634e21f85 (patch)
treefa17ce759c9a6d7108523006747af252e15f6b12 /sound/pci/ca0106/ca0106.h
parentbddcf5411ffd17bfb86c2baed4a1b859c7071c98 (diff)
downloadlinux-485100706b4b397f8072c756839878f634e21f85.tar.xz
[ALSA] ca0106: power down SPI DAC channels when not in use
For cards with an SPI DAC (SB Live 24-bit / Audigy SE), power down channels 0-2 when not in use. They are powered up on PCM open and down again on PCM close. Channel 4 (== Front) is not powered down, as it is used for capture feedback. Powering it down would effectively kill line in pass-through. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ca0106/ca0106.h')
-rw-r--r--sound/pci/ca0106/ca0106.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ca0106/ca0106.h b/sound/pci/ca0106/ca0106.h
index 7ad03c6afd42..47d923821403 100644
--- a/sound/pci/ca0106/ca0106.h
+++ b/sound/pci/ca0106/ca0106.h
@@ -587,7 +587,7 @@
#define SPI_DACD0_BIT 1
#define SPI_DACD1_BIT 2
#define SPI_DACD2_BIT 3
-#define SPI_DACD4_BIT 1
+#define SPI_DACD4_BIT 0 /* datasheet error says it's 1 */
#define SPI_PWRDNALL_REG 10 /* power down everything */
#define SPI_PWRDNALL_BIT 4