diff options
author | Mark Brown <broonie@kernel.org> | 2024-03-29 04:31:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-29 04:31:29 +0300 |
commit | e48ef677000ba5d914711d8aaf1459df72522681 (patch) | |
tree | 4e270c5e258a19a56e75cdaf802c5af1989003d5 /sound/soc/codecs/rt715-sdw.c | |
parent | fc563aa900659a850e2ada4af26b9d7a3de6c591 (diff) | |
parent | f892e66fcabc6161cd38c0fc86e769208174b840 (diff) | |
download | linux-e48ef677000ba5d914711d8aaf1459df72522681.tar.xz |
ASoC: rt-sdw: fix locking and improve error logs
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
Fix a set of problematic locking sequences and update error messages,
tested on SOF/SoundWire platforms.
Diffstat (limited to 'sound/soc/codecs/rt715-sdw.c')
-rw-r--r-- | sound/soc/codecs/rt715-sdw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt715-sdw.c b/sound/soc/codecs/rt715-sdw.c index 21f37babd148..7e13868ff99f 100644 --- a/sound/soc/codecs/rt715-sdw.c +++ b/sound/soc/codecs/rt715-sdw.c @@ -482,7 +482,7 @@ static int rt715_bus_config(struct sdw_slave *slave, ret = rt715_clock_config(&slave->dev); if (ret < 0) - dev_err(&slave->dev, "Invalid clk config"); + dev_err(&slave->dev, "%s: Invalid clk config", __func__); return 0; } @@ -554,7 +554,7 @@ static int __maybe_unused rt715_dev_resume(struct device *dev) time = wait_for_completion_timeout(&slave->initialization_complete, msecs_to_jiffies(RT715_PROBE_TIMEOUT)); if (!time) { - dev_err(&slave->dev, "Initialization not complete, timed out\n"); + dev_err(&slave->dev, "%s: Initialization not complete, timed out\n", __func__); sdw_show_ping_status(slave->bus, true); return -ETIMEDOUT; |