From: Lars-Peter Clausen Date: Wed, 16 Nov 2011 15:28:19 +0000 (+0100) Subject: regmap: Try cached read before checking if a hardware read is possible X-Git-Tag: v3.3-rc1~163^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19254411db4e69d90958244c5017e7e4a38547b0;p=pandora-kernel.git regmap: Try cached read before checking if a hardware read is possible For some register format types we do not provide a parse_val so we can not do a hardware read. But a cached read is still possible, so try to read from the cache first, before checking whether a hardware read is possible. Otherwise the cache becomes pretty useless for these register types. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed