mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 02:01:29 +00:00
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: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a57c0eb655
commit
26a74f1f61
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user