]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: SOF: Intel: Move binding to display driver outside of deferred probe
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 9 Oct 2023 11:54:36 +0000 (13:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Oct 2023 12:56:20 +0000 (14:56 +0200)
commit3d1a0558136150448c91f9dd915dec843de8eacf
tree989d13a68c37ecf6fe8aa46da68133e624903f27
parente46f13776fcadc08916e1bb494d673adaf390464
ASoC: SOF: Intel: Move binding to display driver outside of deferred probe

Now that we can use -EPROBE_DEFER, it's no longer required to spin off
the snd_hdac_i915_init into a workqueue.

Use the -EPROBE_DEFER mechanism instead, which must be returned in the
probe function.

The previously added probe_early can be used for this,
and we also use the newly added remove_late for unbinding afterwards.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231009115437.99976-13-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