ALSA: hda - Call snd_hda_jack_report_sync() generically in hda_codec.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Aug 2012 14:40:24 +0000 (16:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Aug 2012 14:48:17 +0000 (16:48 +0200)
Instead of calling the jack sync in the init callback of each codec,
call it generically at initialization and resume.  By calling it at
the last of resume sequence, a possible race between the jack sync and
the unsol event enablement in the current code will be closed, too.

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

No differences found