regmap: core: Report registers in hex when we can't cache
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/base/regmap/regmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/regmap/regmap.c +1 -1
@@ -850,7 +850,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; }
Signature · 1 line
1.7.10.4