提交 032abb51 编写于 作者: T Takashi Iwai

ALSA: ctxfi - Set device 0 for mixer control elements

Mixer control elements are usually assigned to device 0.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 2a36f67f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册