ASoC: SOF: core: Add missing error prints to device probe operation
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 9 Apr 2021 22:09:58 +0000 (15:09 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 12 Apr 2021 16:05:00 +0000 (17:05 +0100)
commit3bcae98e101727457c727b354c95c3ea8f074dce
treeae9e526088f2b3b9acffbcb58c6741198c3e0176
parent26e33ed9f18475ebdc981d45150ac9a019e69f07
ASoC: SOF: core: Add missing error prints to device probe operation

Two error cases in snd_sof_device_probe() and sof_probe_continue() are
missing error prints.
If either of them happens it is not possible to identify the reason for the
failure.

Add dev_err() prints for the cases to aim debugging.

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-2-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/core.c