diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-27 15:35:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-27 15:35:33 +0100 |
commit | a0941e562e8008804f9fe4400315ceb164752fac (patch) | |
tree | 292189d45e7bedeecec74c4b23d69ea3e7fb4b0c /drivers/base/regmap/regcache-lzo.c | |
parent | regmap: Allow drivers to sync only part of the register cache (diff) | |
download | linux-a0941e562e8008804f9fe4400315ceb164752fac.tar.xz linux-a0941e562e8008804f9fe4400315ceb164752fac.zip |
regmap: Fix x86_64 breakage
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regcache-lzo.c')
-rw-r--r-- | drivers/base/regmap/regcache-lzo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-lzo.c b/drivers/base/regmap/regcache-lzo.c index 5e964e9b2bab..f0f04060a4ec 100644 --- a/drivers/base/regmap/regcache-lzo.c +++ b/drivers/base/regmap/regcache-lzo.c @@ -341,7 +341,7 @@ static int regcache_lzo_sync(struct regmap *map, unsigned int min, lzo_blocks = map->cache; i = min; - for_each_set_bit_from(i, lzo_blocks[0]->sync_bmp, + for_each_set_bit_cont(i, lzo_blocks[0]->sync_bmp, lzo_blocks[0]->sync_bmp_nbits) { if (i > max) continue; |