[PATCH v2 0/2] Display regmap values in debugfs for write only registers
From: Cristian Birsan
Date: Mon Aug 08 2016 - 11:50:57 EST
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