]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec99a444d771e0d8aa31926716b02d1894354f9f
treeb0d02586bb671755d299badb3aca4a7e0ddf2d5c
parent3450dc0d305c1f540f23a5a68eec62228d11600f
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