]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: Intel: Skylake: Move i915 registration to worker thread
authorVinod Koul <vinod.koul@intel.com>
Thu, 4 May 2017 08:39:10 +0000 (14:09 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 14 May 2017 09:48:57 +0000 (18:48 +0900)
commitab1b732d53c18f26f51cad49371be3244fe67504
tree36181534417539d8bbf526d5b4ba9e4e1f841928
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ASoC: Intel: Skylake: Move i915 registration to worker thread

The i915 component framework expects the caller to be invoking
snd_hdac_i915_init() from a thread context. Otherwise it results in
lockups on drm side.

So move the registering of component interface and probing of codecs on
this bus to a worker thread.

init_failed in skl structure is not used currently, so renamed to
init_done and used to track the initialization done in worker thread.

Reported-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Sodhi, VunnyX <vunnyx.sodhi@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c
sound/soc/intel/skylake/skl.h