提交 6d04b8ac 编写于 作者: M Mark Brown

regmap: core: Report registers in hex when we can't cache

This seems to be the most common way of reporting register numbers, it's
certainly what we do for trace.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 8f0d8163
...@@ -814,7 +814,7 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg, ...@@ -814,7 +814,7 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg,
ival); ival);
if (ret) { if (ret) {
dev_err(map->dev, dev_err(map->dev,
"Error in caching of register: %u ret: %d\n", "Error in caching of register: %x ret: %d\n",
reg + i, ret); reg + i, ret);
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册