aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctmixer.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-05 10:37:19 -0400
committerTakashi Iwai <tiwai@suse.de>2009-06-05 10:44:25 -0400
commit032abb519c23000f8a0fae78bb460047f9129270 (patch)
tree0de3a9a74f28c95fbbd3167c38d3526c13c0671e /sound/pci/ctxfi/ctmixer.c
parent2a36f67f8c81f0babda0e811c760b7bfa971010b (diff)
ALSA: ctxfi - Set device 0 for mixer control elements
Mixer control elements are usually assigned to device 0. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctmixer.c')
-rw-r--r--sound/pci/ctxfi/ctmixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctmixer.c b/sound/pci/ctxfi/ctmixer.c
index 177c46e248db..fac783f585fc 100644
--- a/sound/pci/ctxfi/ctmixer.c
+++ b/sound/pci/ctxfi/ctmixer.c
@@ -1097,7 +1097,7 @@ int ct_alsa_mix_create(struct ct_atc *atc,
1097 int err = 0; 1097 int err = 0;
1098 1098
1099 /* Create snd kcontrol instances on demand */ 1099 /* Create snd kcontrol instances on demand */
1100 vol_ctl.device = swh_ctl.device = device; 1100 /* vol_ctl.device = swh_ctl.device = device; */ /* better w/ device 0 */
1101 err = ct_mixer_kcontrols_create((struct ct_mixer *)atc->mixer); 1101 err = ct_mixer_kcontrols_create((struct ct_mixer *)atc->mixer);
1102 if (err) 1102 if (err)
1103 return err; 1103 return err;