summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-27 14:08:44 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-27 14:08:44 +0100
commitf951b6587b94df2abb8c7a2425f7dcdb4fe647dc (patch)
treeed5ac757a8effae2c48d62bd971f672840e1da30 /drivers
parentLinux 3.9-rc4 (diff)
downloadlinux-f951b6587b94df2abb8c7a2425f7dcdb4fe647dc.tar.xz
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')
-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,