projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf77250
)
ASoC: rt715: reorder the argument in error log
author
Bard Liao
<yung-chuan.liao@linux.intel.com>
Thu, 12 Oct 2023 19:13:15 +0000
(15:13 -0400)
committer
Mark Brown
<broonie@kernel.org>
Thu, 12 Oct 2023 19:28:16 +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-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt715.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt715.c
b/sound/soc/codecs/rt715.c
index ed0af0213d60318369d76d94de6628c62884b23d..9f732a5abd53f37cd24382522f9dc3ab97ecd7b0 100644
(file)
--- a/
sound/soc/codecs/rt715.c
+++ b/
sound/soc/codecs/rt715.c
@@
-40,8
+40,8
@@
static int rt715_index_write(struct regmap *regmap, unsigned int reg,
ret = regmap_write(regmap, addr, value);
if (ret < 0) {
- pr_err("Failed to set private value: %08x <= %04x %d\n",
ret,
-
addr, value
);
+ pr_err("Failed to set private value: %08x <= %04x %d\n",
+
addr, value, ret
);
}
return ret;