From: Lars-Peter Clausen Date: Wed, 16 Nov 2011 19:34:04 +0000 (+0100) Subject: regmap: Drop check whether a register is readable in regcache_read X-Git-Tag: v3.3-rc1~163^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b44d48c1ccf70273a91b7d3a920b0b54c3cb314f;p=pandora-kernel.git regmap: Drop check whether a register is readable in regcache_read One of the reasons for using a cache is to have a software shadow of a register which is writable but not readable. This allows us to do a read-modify-write operation on such a register. Currently regcache checks whether a register is readable when performing a cached read and returns an error if it is not. Drop this check, since it will prevent us from using the cache for registers where read-back is not possible. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed