Skip to content

Commit

Permalink
ALSA: ctxfi - Set device 0 for mixer control elements
Browse files Browse the repository at this point in the history
Mixer control elements are usually assigned to device 0.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jun 5, 2009
1 parent 2a36f67 commit 032abb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/ctxfi/ctmixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 032abb5

Please sign in to comment.