forked from Minki/linux
regmap: Fix x86_64 breakage
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
4d4cfd1656
commit
a0941e562e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user