diff mbox series

ASoC: SOF: Intel: hda: add __func__ in SoundWire lcount() error logs

Message ID 20230406152937.15347-1-pierre-louis.bossart@linux.intel.com
State Accepted
Commit e41e1f4ae47499061bec3446c927bdfd2210a329
Headers show
Series ASoC: SOF: Intel: hda: add __func__ in SoundWire lcount() error logs | expand

Commit Message

Pierre-Louis Bossart April 6, 2023, 3:29 p.m. UTC
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>
---
 sound/soc/sof/intel/hda.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Mark Brown April 6, 2023, 5:04 p.m. UTC | #1
On Thu, 06 Apr 2023 10:29:37 -0500, Pierre-Louis Bossart wrote:
> Make sure SoundWire lcount helpers have unique error logs, but a
> common pattern for reporting issues.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: SOF: Intel: hda: add __func__ in SoundWire lcount() error logs
      commit: e41e1f4ae47499061bec3446c927bdfd2210a329

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/sof/intel/hda.c b/sound/soc/sof/intel/hda.c
index 483ec80f3160..2f1f0756ed75 100644
--- 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;
 	}