summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-27 13:08:44 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-27 13:08:44 +0000
commitf951b6587b94df2abb8c7a2425f7dcdb4fe647dc (patch)
treeed5ac757a8effae2c48d62bd971f672840e1da30 /drivers/base
parent8bb9660418e05bb1845ac1a2428444d78e322cc7 (diff)
downloadblackbird-op-linux-f951b6587b94df2abb8c7a2425f7dcdb4fe647dc.tar.gz
blackbird-op-linux-f951b6587b94df2abb8c7a2425f7dcdb4fe647dc.zip
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.c2
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,
OpenPOWER on IntegriCloud