mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
ASoC: SOF: Intel: hda: add __func__ in SoundWire lcount() error logs
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>
This commit is contained in:
parent
80a4623eb1
commit
e41e1f4ae4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user