diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-09 15:28:52 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-09 17:05:24 +0400 |
commit | 0a8198094da895c8d5db95812fe9de7027d808e4 (patch) | |
tree | d9da7fa270e1e618097353eaf1b2fb97239d9fd7 /drivers/base/regmap/regcache.c | |
parent | 651e013e3ce6c0646c39a07e22bebad75a207209 (diff) | |
download | linux-0a8198094da895c8d5db95812fe9de7027d808e4.tar.xz |
regmap: Simplify the initiation of async I/O
Rather than passing a flag around through the entire call stack store it
in the regmap struct and read it when required. This minimises the
visibility of the feature through the API, minimising the code updates
needed to use it more widely.
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base/regmap/regcache.c')
-rw-r--r-- | drivers/base/regmap/regcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index d6c2d691b6e8..a36112af494c 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -631,8 +631,7 @@ static int regcache_sync_block_raw_flush(struct regmap *map, const void **data, map->cache_bypass = 1; - ret = _regmap_raw_write(map, base, *data, count * val_bytes, - false); + ret = _regmap_raw_write(map, base, *data, count * val_bytes); map->cache_bypass = 0; |