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)
commitaad730d0704545ad97654bd929b0aba05adb1436
treea375782536cac4221826befb2154e47c0dce49c8
parentb95ff8e61afc5b621992bdddef5bf6af2d66772a
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