mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
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>
This commit is contained in:
parent
2a36f67f8c
commit
032abb519c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue