summaryrefslogtreecommitdiff
path: root/sound/pci/ctxfi/ctmixer.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-05 18:37:19 +0400
committerTakashi Iwai <tiwai@suse.de>2009-06-05 18:44:25 +0400
commit032abb519c23000f8a0fae78bb460047f9129270 (patch)
tree0de3a9a74f28c95fbbd3167c38d3526c13c0671e /sound/pci/ctxfi/ctmixer.c
parent2a36f67f8c81f0babda0e811c760b7bfa971010b (diff)
downloadlinux-032abb519c23000f8a0fae78bb460047f9129270.tar.xz
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,
int err = 0;
/* Create snd kcontrol instances on demand */
- vol_ctl.device = swh_ctl.device = device;
+ /* vol_ctl.device = swh_ctl.device = device; */ /* better w/ device 0 */
err = ct_mixer_kcontrols_create((struct ct_mixer *)atc->mixer);
if (err)
return err;