diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-01-07 10:08:40 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-07 22:29:20 +0000 |
commit | 490a625b01775857a9d00c623164e8aa0be762a2 (patch) | |
tree | 09592dc31ca74c6c662b0b9c82357db711e9b1a4 /sound/soc/sof/loader.c | |
parent | 46207ca24545540231ac8b4cf856baf1ca19e2fa (diff) | |
download | linux-490a625b01775857a9d00c623164e8aa0be762a2.tar.bz2 |
ASoC: SOF: loader: add dynamic debug trace
We currently have no trace referring to the firmware path, add a trace
to help debug cases where the wrong file might be used.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200107160840.1524-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/loader.c')
-rw-r--r-- | sound/soc/sof/loader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sof/loader.c b/sound/soc/sof/loader.c index 235be4fc0862..fc4ab51bacf4 100644 --- a/sound/soc/sof/loader.c +++ b/sound/soc/sof/loader.c @@ -487,6 +487,9 @@ int snd_sof_load_firmware_raw(struct snd_sof_dev *sdev) if (ret < 0) { dev_err(sdev->dev, "error: request firmware %s failed err: %d\n", fw_filename, ret); + } else { + dev_dbg(sdev->dev, "request_firmware %s successful\n", + fw_filename); } kfree(fw_filename); |