]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5b77549b9455f25beb35c310ba35f9e651111e0
tree7b25fbfaa187ac7a0ff25dc3db29a933cefa3c33
parent6370db42952a00761a28f12cdb84bc2a91911dce
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