summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/base/regmap/regcache-lzo.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/base/regmap/regcache-lzo.c')
-rw-r--r--kernel/drivers/base/regmap/regcache-lzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/base/regmap/regcache-lzo.c b/kernel/drivers/base/regmap/regcache-lzo.c
index 2d53f6f13..736e0d378 100644
--- a/kernel/drivers/base/regmap/regcache-lzo.c
+++ b/kernel/drivers/base/regmap/regcache-lzo.c
@@ -355,9 +355,9 @@ static int regcache_lzo_sync(struct regmap *map, unsigned int min,
if (ret > 0 && val == map->reg_defaults[ret].def)
continue;
- map->cache_bypass = 1;
+ map->cache_bypass = true;
ret = _regmap_write(map, i, val);
- map->cache_bypass = 0;
+ map->cache_bypass = false;
if (ret)
return ret;
dev_dbg(map->dev, "Synced register %#x, value %#x\n",