summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-05 16:37:19 +0200
committerTakashi Iwai <tiwai@suse.de>2009-06-05 16:44:25 +0200
commit032abb519c23000f8a0fae78bb460047f9129270 (patch)
tree0de3a9a74f28c95fbbd3167c38d3526c13c0671e /sound/pci/ctxfi
parent2a36f67f8c81f0babda0e811c760b7bfa971010b (diff)
downloadlinux-032abb519c23000f8a0fae78bb460047f9129270.tar.gz
linux-032abb519c23000f8a0fae78bb460047f9129270.tar.bz2
linux-032abb519c23000f8a0fae78bb460047f9129270.zip
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')
-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;