ASoC: SOF: Simplify sof_probe_complete handling for acpi/pci/of
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 9 Apr 2021 22:09:59 +0000 (15:09 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 12 Apr 2021 16:05:01 +0000 (17:05 +0100)
commit4d1284cd795296e4aa7be6db5fdce85f31374520
treeb0d02586bb671755d299badb3aca4a7e0ddf2d5c
parent3bcae98e101727457c727b354c95c3ea8f074dce
ASoC: SOF: Simplify sof_probe_complete handling for acpi/pci/of

Set the sof_data->sof_probe_complete callback unconditionally of
CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE.

The sof_probe_complete will be called when the sof_probe_continue()
function is successfully executed, called either directly from
snd_sof_device_probe() or from the scheduled work.

Since all error cases within the call chain of snd_sof_device_probe() have
error prints, there is no need to print again in the acpi/pci/of level.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210409220959.1543456-3-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-acpi-dev.c
sound/soc/sof/sof-of-dev.c
sound/soc/sof/sof-pci-dev.c