aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBard Liao <[email protected]>2023-10-12 15:13:14 -0400
committerMark Brown <[email protected]>2023-10-12 20:28:15 +0100
commitcf77250a679556f39bc3247a68bd75ca399f59d6 (patch)
tree970b03d1e26ddf13faf648a2b7a4f21ebb04a676
parent47c09498666056d131b0e507eb65ecf854b10085 (diff)
ASoC: rt715-sdca: reorder the argument in error log
"Failed to set private value: ffffffea <= 6100000 24832" is confusing. It should be "Failed to set private value: 6100000 <= 24832 -22" Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/codecs/rt715-sdca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt715-sdca.c b/sound/soc/codecs/rt715-sdca.c
index 9fa96fd83d4a..4533eedd7e18 100644
--- a/sound/soc/codecs/rt715-sdca.c
+++ b/sound/soc/codecs/rt715-sdca.c
@@ -41,8 +41,8 @@ static int rt715_sdca_index_write(struct rt715_sdca_priv *rt715,
ret = regmap_write(regmap, addr, value);
if (ret < 0)
dev_err(&rt715->slave->dev,
- "Failed to set private value: %08x <= %04x %d\n", ret, addr,
- value);
+ "Failed to set private value: %08x <= %04x %d\n",
+ addr, value, ret);
return ret;
}