ALSA: hda - Create jack detection elements in build_controls
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Nov 2008 08:32:42 +0000 (09:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Nov 2008 08:43:05 +0000 (09:43 +0100)
The jack detection input elements should be created in build_controls
callback instead of init callback because init can be called multiple
times by suspend/resume and power-saving.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found