ASoC: SOF: acpi: add dev_dbg() log for probe completion
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 24 Aug 2020 20:09:10 +0000 (15:09 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 25 Aug 2020 19:39:38 +0000 (20:39 +0100)
When the probe relies on a workqueue, the completion is not signaled
by a return value. Mirror the log already present for PCI probe, so
that CI checks can test if the probe actually worked by filtering the
console logs.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200824200912.46852-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-acpi-dev.c

index 8aecc46..a78b76e 100644 (file)
@@ -106,6 +106,8 @@ static const struct dev_pm_ops sof_acpi_pm = {
 
 static void sof_acpi_probe_complete(struct device *dev)
 {
+       dev_dbg(dev, "Completing SOF ACPI probe");
+
        if (sof_acpi_debug & SOF_ACPI_DISABLE_PM_RUNTIME)
                return;