]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Always do delayed probes for HD-audio devices
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Dec 2013 12:33:57 +0000 (13:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Dec 2013 14:17:39 +0000 (15:17 +0100)
commit2a9f4fa2d4263d7b1bf8bf1223cb84c54876b9be
treea375782536cac4221826befb2154e47c0dce49c8
parent7bd2247416367690718e6a39843a1e9a1661ad18
ALSA: hda - Always do delayed probes for HD-audio devices

HD-audio devices tend to take long time for finishing the whole
probing procedure.  In this patch, the time-consuming part of the
probing procedure, the codec probe and the rest initializations, are
moved in the work, so that they can be done asynchronously in parallel
with probes of other devices.

Since we already have this mechanism in the driver code for the
firmware and i915 request_symbol() stuff, we just need to enable it
always; the resultant patch even reduces more lines, which is an
additional bonus.

Credit goes to David Henningsson, who suggested this workaround.

Reported-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c