]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10214-2: regmap: rbtree: Fix the shift issue.
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 9 Feb 2015 10:19:38 +0000 (18:19 +0800)
committerShengjiu Wang <shengjiu.wang@freescale.com>
Tue, 10 Feb 2015 03:09:32 +0000 (11:09 +0800)
commit148cc49fb4460ba2d888bdc1d5e226e3473b996b
treeff268e3b8d87e23a0693ce185e308353708bba39
parentd6bfa3d48f8e3f32394a3cea1bd9e613260a0a56
MLK-10214-2: regmap: rbtree: Fix the shift issue.

The right shift should be changed to left shift. Lower register
address correspond to LSB of the cache_present, if right shift
old cache_present, the valid bits is moved out, then the new
cache_present is not correct.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
drivers/base/regmap/regcache-rbtree.c