summaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-23 05:53:49 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-03 07:45:20 +0100
commitdb1e18de98c8bdf8a2bfc07623ff67621aa4a332 (patch)
tree3681c2d5823befcc606d95bd06f5c4ca310986ae /sound/mips
parent62f5ad6733b872e14d671b615850eb5bd1cd7e30 (diff)
ASoC: wm8940: fix a memory leak if wm8940_register return error
This patch adds checking for wm8940_register return value, and does kfree(wm8940) if wm8940_register() fail. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions