Home
last modified time | relevance | path

Searched hist:"064 d4db11e23949c40b8a2f2f6be11c131b53932" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/base/regmap/
H A Dregcache.cdiff 064d4db11e23949c40b8a2f2f6be11c131b53932 Wed Nov 16 13:34:03 CST 2011 Lars-Peter Clausen <lars@metafoo.de> regmap: Properly round cache_word_size

regcache currently only properly works with val bit sizes of 8 or 16, since
it will, when calculating the cache word size, round down. This causes the
cache storage to be too small to hold the full register value. Fix this by
rounding up instead.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>