projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5525cf0
)
ASoC: SOF: loader: snd_sof_fw_parse_ext_data log warning on unknown header
author
Karol Trzcinski
<karolx.trzcinski@linux.intel.com>
Tue, 10 Dec 2019 00:48:48 +0000
(18:48 -0600)
committer
Mark Brown
<broonie@kernel.org>
Tue, 10 Dec 2019 13:11:00 +0000
(13:11 +0000)
Added warning log when found some unknown FW boot ext header,
to improve debuggability.
Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link:
https://lore.kernel.org/r/20191210004854.16845-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/loader.c
patch
|
blob
|
history
diff --git
a/sound/soc/sof/loader.c
b/sound/soc/sof/loader.c
index 9a9a381a908dee467665c979fecc7d31fb58e3bc..a041adf0669de2e5d6224a7f349377775ce85c66 100644
(file)
--- a/
sound/soc/sof/loader.c
+++ b/
sound/soc/sof/loader.c
@@
-66,6
+66,8
@@
int snd_sof_fw_parse_ext_data(struct snd_sof_dev *sdev, u32 bar, u32 offset)
ret = get_ext_windows(sdev, ext_hdr);
break;
default:
+ dev_warn(sdev->dev, "warning: unknown ext header type %d size 0x%x\n",
+ ext_hdr->type, ext_hdr->hdr.size);
break;
}