projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c0949
)
ASoC: rt715-sdca: reorder the argument in error log
author
Bard Liao
<yung-chuan.liao@linux.intel.com>
Thu, 12 Oct 2023 19:13:14 +0000
(15:13 -0400)
committer
Mark Brown
<broonie@kernel.org>
Thu, 12 Oct 2023 19:28:15 +0000
(20:28 +0100)
"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 <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link:
https://lore.kernel.org/r/20231012191315.145411-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt715-sdca.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt715-sdca.c
b/sound/soc/codecs/rt715-sdca.c
index 9fa96fd83d4aa5a81a29284248e0111a97c4657d..4533eedd7e189f3b48e36175eb5494f20a6f1be0 100644
(file)
--- 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;
}