diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-05-04 10:00:16 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-04 10:00:16 -0400 |
commit | 3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026 (patch) | |
tree | 9a912f2609cefb9698b5cce09cd240bd6dbd09fb /sound/pci/echoaudio/mia_dsp.c | |
parent | 18cc8d8d9b74c446832336d8f6e1afb145f9431b (diff) | |
parent | 3e5b50165fd0be080044586f43fcdd460ed27610 (diff) |
Merge branch 'fix/pcm-jiffies-check' into fix/asoc
Diffstat (limited to 'sound/pci/echoaudio/mia_dsp.c')
-rw-r--r-- | sound/pci/echoaudio/mia_dsp.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sound/pci/echoaudio/mia_dsp.c b/sound/pci/echoaudio/mia_dsp.c index 227386602f9b..551405114cbc 100644 --- a/sound/pci/echoaudio/mia_dsp.c +++ b/sound/pci/echoaudio/mia_dsp.c | |||
@@ -69,18 +69,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
69 | if ((err = init_line_levels(chip))) | 69 | if ((err = init_line_levels(chip))) |
70 | return err; | 70 | return err; |
71 | 71 | ||
72 | /* Default routing of the virtual channels: vchannels 0-3 go to analog | ||
73 | outputs and vchannels 4-7 go to S/PDIF outputs */ | ||
74 | set_vmixer_gain(chip, 0, 0, 0); | ||
75 | set_vmixer_gain(chip, 1, 1, 0); | ||
76 | set_vmixer_gain(chip, 0, 2, 0); | ||
77 | set_vmixer_gain(chip, 1, 3, 0); | ||
78 | set_vmixer_gain(chip, 2, 4, 0); | ||
79 | set_vmixer_gain(chip, 3, 5, 0); | ||
80 | set_vmixer_gain(chip, 2, 6, 0); | ||
81 | set_vmixer_gain(chip, 3, 7, 0); | ||
82 | err = update_vmixer_level(chip); | ||
83 | |||
84 | DE_INIT(("init_hw done\n")); | 72 | DE_INIT(("init_hw done\n")); |
85 | return err; | 73 | return err; |
86 | } | 74 | } |
@@ -222,10 +210,10 @@ static int set_professional_spdif(struct echoaudio *chip, char prof) | |||
222 | DE_ACT(("set_professional_spdif %d\n", prof)); | 210 | DE_ACT(("set_professional_spdif %d\n", prof)); |
223 | if (prof) | 211 | if (prof) |
224 | chip->comm_page->flags |= | 212 | chip->comm_page->flags |= |
225 | __constant_cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); | 213 | cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); |
226 | else | 214 | else |
227 | chip->comm_page->flags &= | 215 | chip->comm_page->flags &= |
228 | ~__constant_cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); | 216 | ~cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); |
229 | chip->professional_spdif = prof; | 217 | chip->professional_spdif = prof; |
230 | return update_flags(chip); | 218 | return update_flags(chip); |
231 | } | 219 | } |