diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-27 17:08:44 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-27 17:08:44 +0400 |
commit | f951b6587b94df2abb8c7a2425f7dcdb4fe647dc (patch) | |
tree | ed5ac757a8effae2c48d62bd971f672840e1da30 /drivers/base | |
parent | 8bb9660418e05bb1845ac1a2428444d78e322cc7 (diff) | |
download | linux-f951b6587b94df2abb8c7a2425f7dcdb4fe647dc.tar.xz |
regmap: async: Add missing return
Let's only write once...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/regmap/regmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 3d2367501fd0..dd82acfbcf4e 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -1036,6 +1036,8 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg, kfree(async->work_buf); kfree(async); } + + return ret; } trace_regmap_hw_write_start(map->dev, reg, |