Skip to content

Commit

Permalink
regmap: async: Add missing return
Browse files Browse the repository at this point in the history
Let's only write once...

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Mar 27, 2013
1 parent 8bb9660 commit f951b65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/base/regmap/regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f951b65

Please sign in to comment.