提交 26a74f1f 编写于 作者: T Takashi Iwai

ALSA: hda - Register (new) devices at reconfig

The devices that have been newly added during reconfig must be
registered.  Otherwise they won't be visible to user-space.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 a57c0eb6
......@@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
err = snd_hda_codec_build_controls(codec);
if (err < 0)
return err;
return 0;
return snd_card_register(codec->bus->card);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册