]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90abefc6b505154237b57771b966be17aac70a04
treeae9e526088f2b3b9acffbcb58c6741198c3e0176
parenta164849f8daad78997d3ee633029d4f3389132a5
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