summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorIonut Nicu <ioan.nicu.ext@nsn.com>2013-08-09 10:09:15 (GMT)
committerMark Brown <broonie@linaro.org>2013-08-09 11:47:29 (GMT)
commit1767da9e8e9a1dc1416d6bb1029b8cf5659dac2a (patch)
treee02498d7cebb9e5b1ba71fdfe36af52dec9fff18 /drivers/cpufreq
parentc095ba7224d8edc71dcef0d655911399a8bd4a3f (diff)
downloadlinux-fsl-qoriq-1767da9e8e9a1dc1416d6bb1029b8cf5659dac2a.tar.xz
regmap: fix regcache_reg_present() for empty cache
In the initial case when no reg_defaults values are provided and no register value was added to the cache yet, the cache_present bitmap is NULL. If this function is invoked for any register it should return false (i.e. the register is not cached) instead of true. Signed-off-by: Ionut Nicu <ioan.nicu.ext@nsn.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions