lkml.org 
[lkml]   [2016]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] Display regmap values in debugfs for write only registers
Date
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

\
 
 \ /
  Last update: 2016-08-08 18:21    [W:0.070 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site