aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2011-11-16 20:34:03 +0100
committerMark Brown <[email protected]>2011-11-17 16:51:23 +0000
commit064d4db11e23949c40b8a2f2f6be11c131b53932 (patch)
treea61edaa49618b7189a01fa9bb1a9c19e5cfda625 /net/lapb/lapb_subr.c
parent7e5ec63ef574775900c82bd98f95bf039f513de3 (diff)
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions