ALSA: ctxfi - Set device 0 for mixer control elements

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 12:02 pm

Gitweb:     http://git.kernel.org/linus/032abb519c23000f8a0fae78bb460047f9129270
Commit:     032abb519c23000f8a0fae78bb460047f9129270
Parent:     2a36f67f8c81f0babda0e811c760b7bfa971010b
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Fri Jun 5 16:37:19 2009 +0200
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Fri Jun 5 16:44:25 2009 +0200

    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>
---
 sound/pci/ctxfi/ctmixer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/ctxfi/ctmixer.c b/sound/pci/ctxfi/ctmixer.c
index 177c46e..fac783f 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;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: ctxfi - Set device 0 for mixer control elements, Linux Kernel Mailing ..., (Fri Jun 12, 12:02 pm)