]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ASoC: Fix resource reclaim for osk5912
authorAxel Lin <axel.lin@gmail.com>
Wed, 24 Nov 2010 14:24:01 +0000 (22:24 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 25 Nov 2010 21:15:49 +0000 (21:15 +0000)
commit25436180ee8bed6740f29d92c2030c759885c147
tree4ee596f9884dad0a3eee165e8f96e29d08a52ad1
parentfe99b55994f08d321cc5f621c3634b1de4961d01
ASoC: Fix resource reclaim for osk5912

In current implementation, there are resources leak in the error path.
This patch properly reclaims the allocated resources in the error path.

Also adds a missing clk_put in osk_soc_exit.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/osk5912.c