commit | 7bcaad919bc7aaa084f5884aa15654fe1fa4c77f | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Fri Jul 23 05:53:44 2010 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Aug 03 07:40:41 2010 +0100 |
tree | 5fbee6344f610b7ebb598ca1c01240c644cb63b2 | |
parent | fd3c8ac9cb653f7e3122bba9bc7beaad6062b7f4 [diff] |
ASoC: ak4642: fix a memory leak if failed to initialise AK4642 ak4642 should be kfreed if ak4642_init() return error. Signed-off-by: Axel Lin <axel.lin@gmail.com> Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>