Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26a74f1f authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent a57c0eb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}

/*