From 485100706b4b397f8072c756839878f634e21f85 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Wed, 25 Jul 2007 18:39:59 +0200 Subject: [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/pci/ca0106/ca0106.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/pci/ca0106/ca0106.h') 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 -- cgit v1.2.3