regmap: Prepare LZO cache for variable block sizes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Oct 2011 23:37:00 +0000 (00:37 +0100)
committerLokesh Pathak <lpathak@nvidia.com>
Mon, 5 Mar 2012 15:46:04 +0000 (07:46 -0800)
commita4903393f628bb7b435c6689727512a783cc85f4
tree25bb5c218b8629d1df636ec00a498b0446bad4a4
parenta49bf20d72d8e8722a69d158512a74ce89d33177
regmap: Prepare LZO cache for variable block sizes

Give regcache_lzo_block_count() a copy of the map so that when we decide
we want to make the LZO cache more controllable we can more easily do so.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
(cherry picked from mainline commit 82732bdd663ee9dc1ad4b0409881fe89a9d827ca)

Change-Id: Id94349ea5c7b33d883218f8c5a82f21eff851a01
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87546
drivers/base/regmap/regcache-lzo.c