projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a36f67
)
ALSA: ctxfi - Set device 0 for mixer control elements
author
Takashi Iwai
<tiwai@suse.de>
Fri, 5 Jun 2009 14:37:19 +0000
(16:37 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 5 Jun 2009 14:44:25 +0000
(16:44 +0200)
Mixer control elements are usually assigned to device 0.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctmixer.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ctxfi/ctmixer.c
b/sound/pci/ctxfi/ctmixer.c
index 177c46e248db152db82bd529d92bacdcf385ca42..fac783f585fcee61a448c0ea4e45f76d43fde46d 100644
(file)
--- 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;