regmap: make sure we unlock on failure in regmap_bulk_write
authorCourtney Cavin <courtney.cavin@sonymobile.com>
Wed, 20 Nov 2013 23:27:09 +0000 (15:27 -0800)
committerMark Brown <broonie@linaro.org>
Thu, 21 Nov 2013 14:05:31 +0000 (14:05 +0000)
commit73f080fde50de1be7ab1e62fd93287edaf0861db
tree818cfcda72c6b88f42ddf7141bcbda78d4f97870
parent04bc9ac163a2550c7bc32750ea8dd2e049102be2
regmap: make sure we unlock on failure in regmap_bulk_write

Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c