]> git.baikalelectronics.ru Git - kernel.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)
commit8b34de7b530322d42c2bf2a026f376dad15d0794
tree4ee596f9884dad0a3eee165e8f96e29d08a52ad1
parent323813694ca96019df21ba357f1b8f6d88e3b25b
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