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:
80a4623
)
ASoC: SOF: Intel: hda: add __func__ in SoundWire lcount() error logs
author
Pierre-Louis Bossart
<pierre-louis.bossart@linux.intel.com>
Thu, 6 Apr 2023 15:29:37 +0000
(10:29 -0500)
committer
Mark Brown
<broonie@kernel.org>
Thu, 6 Apr 2023 15:34:28 +0000
(16:34 +0100)
Make sure SoundWire lcount helpers have unique error logs, but a
common pattern for reporting issues.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link:
https://lore.kernel.org/r/20230406152937.15347-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c
patch
|
blob
|
history
diff --git
a/sound/soc/sof/intel/hda.c
b/sound/soc/sof/intel/hda.c
index 483ec80f31606eee622ff700bb1093ae5ef79a04..2f1f0756ed758fa5a46d81e64ea4a41a1850e910 100644
(file)
--- a/
sound/soc/sof/intel/hda.c
+++ b/
sound/soc/sof/intel/hda.c
@@
-213,8
+213,8
@@
int hda_sdw_check_lcount_common(struct snd_sof_dev *sdev)
/* Check HW supported vs property value */
if (caps < ctx->count) {
dev_err(sdev->dev,
- "BIOS master count %d is larger than hardware capabilities %d\n",
- ctx->count, caps);
+ "
%s:
BIOS master count %d is larger than hardware capabilities %d\n",
+
__func__,
ctx->count, caps);
return -EINVAL;
}