ASoC: SOF: Intel: hda: start splitting the probe
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 9 Oct 2023 11:54:27 +0000 (13:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Oct 2023 12:54:33 +0000 (14:54 +0200)
commitf1977d5ba07178b17320e4d694e9cc1d81da9308
treebfb343532ce760f5dc16f0a3e338e08ecc9be5b9
parent17baaa1f950b19456618b792dbb5b3fbb12884a8
ASoC: SOF: Intel: hda: start splitting the probe

This patch moves the initial parts of the probe to the probe_early()
callback, which provides a much faster decision on whether the SOF
driver shall deal with a specific platform or yield to other Intel
drivers.

This is a limited functionality change, the bigger change is to move
the i915/Xe initialization to the probe_early().

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20231009115437.99976-4-maarten.lankhorst@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/sof/intel/hda-common-ops.c
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h