[ALSA] ca0106: power down SPI DAC channels when not in use
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 25 Jul 2007 16:39:59 +0000 (18:39 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:57:58 +0000 (15:57 +0200)
commit485100706b4b397f8072c756839878f634e21f85
treefa17ce759c9a6d7108523006747af252e15f6b12
parentbddcf5411ffd17bfb86c2baed4a1b859c7071c98
[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>
sound/pci/ca0106/ca0106.h
sound/pci/ca0106/ca0106_main.c