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: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
8f0d8163b5
commit
6d04b8ac57
1 changed files with 1 additions and 1 deletions
|
@ -814,7 +814,7 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg,
|
|||
ival);
|
||||
if (ret) {
|
||||
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);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue