summaryrefslogtreecommitdiffstats
path: root/sound/pci/echoaudio/indigoio_dsp.c
diff options
context:
space:
mode:
authorGiuliano Pochini <pochini@shiny.it>2009-03-15 21:33:55 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-16 08:38:00 +0100
commit4c55bb0149b604901e4989d1ee0fddc53df8eb0c (patch)
tree493318bd0f70c8f8840ee2f1d7886a15ecfcdf4b /sound/pci/echoaudio/indigoio_dsp.c
parent9f5d790d1b0af8e3705df12fd5d49a1df2a45c47 (diff)
downloadop-kernel-dev-4c55bb0149b604901e4989d1ee0fddc53df8eb0c.zip
op-kernel-dev-4c55bb0149b604901e4989d1ee0fddc53df8eb0c.tar.gz
ALSA: echoaudio: remove line-out volume from vmixer cards
With this patch the drivers do not set the vmixer volume anymore at startup because it is actually the output volume of the voices and ALSA mandates that the volume must be 0 by default. Signed-off-by: Giuliano Pochini <pochini@shiny.it> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/echoaudio/indigoio_dsp.c')
-rw-r--r--sound/pci/echoaudio/indigoio_dsp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/pci/echoaudio/indigoio_dsp.c b/sound/pci/echoaudio/indigoio_dsp.c
index a7e09ec..0604c8a 100644
--- a/sound/pci/echoaudio/indigoio_dsp.c
+++ b/sound/pci/echoaudio/indigoio_dsp.c
@@ -63,18 +63,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id)
if ((err = init_line_levels(chip)) < 0)
return err;
- /* Default routing of the virtual channels: all vchannels are routed
- to the stereo output */
- set_vmixer_gain(chip, 0, 0, 0);
- set_vmixer_gain(chip, 1, 1, 0);
- set_vmixer_gain(chip, 0, 2, 0);
- set_vmixer_gain(chip, 1, 3, 0);
- set_vmixer_gain(chip, 0, 4, 0);
- set_vmixer_gain(chip, 1, 5, 0);
- set_vmixer_gain(chip, 0, 6, 0);
- set_vmixer_gain(chip, 1, 7, 0);
- err = update_vmixer_level(chip);
-
DE_INIT(("init_hw done\n"));
return err;
}
OpenPOWER on IntegriCloud