ALSA: x86: Call snd_card_register() at the end
authorTakashi Iwai <tiwai@suse.de>
Tue, 31 Jan 2017 07:47:05 +0000 (08:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Feb 2017 16:31:15 +0000 (17:31 +0100)
commit36ec0d99bbd7bb392bf64059cbda1818ee2be5a2
tree7b25fbfaa187ac7a0ff25dc3db29a933cefa3c33
parent301cf8a9559bb372ab64da3781d3d93d1ce38213
ALSA: x86: Call snd_card_register() at the end

The card registration should be done at the last stage of the probe
procedure.  Otherwise user-space may access to the device before the
whole initialization is done.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c