From: Dimitris Papastamos Date: Wed, 20 Feb 2013 12:15:23 +0000 (+0000) Subject: regmap: debugfs: Add a registers `range' file X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~132^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=065b4c587557dcd3dc8d3ff1ba2b9ecc6e0c6668;p=pandora-kernel.git regmap: debugfs: Add a registers `range' file This file lists the register ranges in the register map. The condition to split the range is based on whether the block is readable or not. Ensure that we lock the `debugfs_off_cache' list whenever we access and modify the list. There is a possible race otherwise between the read() operations of the `registers' file and the `range' file. Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown --- Reading git-diff-tree failed