From: Takashi Iwai Date: Wed, 22 Aug 2012 14:40:24 +0000 (+0200) Subject: ALSA: hda - Call snd_hda_jack_report_sync() generically in hda_codec.c X-Git-Tag: v3.7-rc1~81^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5354140a86b6d4057793a9ed28d29ac8ce6ba6;p=pandora-kernel.git ALSA: hda - Call snd_hda_jack_report_sync() generically in hda_codec.c 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 --- Reading git-diff-tree failed