[PATCH v2 0/2] Display regmap values in debugfs for write only registers
Cristian Birsan
cristian.birsan at microchip.com
Mon Aug 8 08:44:20 PDT 2016
Hi,
Thank you for the review and for the very detailed comments. I updated the
patch series to fix the problems identified. To make sure a register is
really cached a regcache_read() is performed on cacheable registers.
The patch was tested using a wm8731 device.
Changes since v1 (https://lkml.org/lkml/2016/8/4/327)
+ Fix regmap_cached() to return if a register is really cached
instead of cacheable.
+ Remove unnecesary regcache_read() in regmap_read_debugfs()
Cristian Birsan (2):
regmap: Add a function to check if a regmap register is cached
regmap: debugfs: Add support for dumping write only device registers
drivers/base/regmap/internal.h | 1 +
drivers/base/regmap/regmap-debugfs.c | 16 +++++++++++++---
drivers/base/regmap/regmap.c | 23 +++++++++++++++++++++++
3 files changed, 37 insertions(+), 3 deletions(-)
--
1.9.1
More information about the linux-arm-kernel
mailing list