Skip to content

Commit

Permalink
ALSA: hda - Register (new) devices at reconfig
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tiwai committed Feb 11, 2009
1 parent a57c0eb commit 26a74f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_hwdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 26a74f1

Please sign in to comment.