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>
parent
fd3c8ac9
Please register or sign in to comment