diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2023-10-12 15:13:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-12 20:28:15 +0100 |
commit | cf77250a679556f39bc3247a68bd75ca399f59d6 (patch) | |
tree | 970b03d1e26ddf13faf648a2b7a4f21ebb04a676 /sound/soc/codecs/rt715-sdca.c | |
parent | 47c09498666056d131b0e507eb65ecf854b10085 (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 <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>
Diffstat (limited to 'sound/soc/codecs/rt715-sdca.c')
-rw-r--r-- | sound/soc/codecs/rt715-sdca.c | 4 |
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; } |