linux/sound/soc
Axel Lin d484366bee ASoC: wm8978: fix a memory leak if a wm8978_register fail
There is a memory leak found if wm8978_register() fail.
This patch moves the buffer allocate and release
at the same level to prevent the memory leak.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-08-03 07:46:27 +01:00
..
atmel ASoC: atmel: trivial code cleanup 2010-06-07 14:25:45 +01:00
au1x ASoC: au1x: fix section mismatch in psc-i2s.c 2010-07-13 12:39:14 +01:00
blackfin ASoC: Remove unnecessary casts of private_data 2010-07-13 12:33:59 +01:00
codecs ASoC: wm8978: fix a memory leak if a wm8978_register fail 2010-08-03 07:46:27 +01:00
davinci ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
ep93xx ASoC: EP93xx: Add Snapper CL15 i2s audio support 2010-06-09 11:16:18 +01:00
fsl ASoC: Remove unused header from MPC5200 PSC driver 2010-06-12 18:06:14 +01:00
imx ASoC: eukrea-tlv320: add support for cpuimx35sd 2010-07-20 09:47:28 +01:00
jz4740 ASoC: JZ4740: Add qi_lb60 board driver 2010-06-23 00:10:57 +01:00
kirkwood ASoC: kirkwood-i2s: Handle mute/unmute playback/record 2010-07-13 12:37:09 +01:00
nuc900 ASoC: NUC900: patch for fix build error 2010-06-10 14:40:35 +01:00
omap ASoC: omap-mcbsp: Remove period size constraint in THRESHOLD mode 2010-08-02 10:38:16 +01:00
pxa Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00
s3c24xx ASoC:Support Samsung SoC(S5P) in I2Sv2 2010-07-20 09:53:36 +01:00
s6000 ASoC: s6000: use resource_size for {request/release}_mem_region and ioremap 2010-06-02 14:02:39 +01:00
sh ASoC: fsi: Add new funtion for SPDIF 2010-07-29 10:28:49 -07:00
txx9 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2010-05-21 17:05:46 -07:00
Kconfig ASoC: Fix sorting of Makefile and Kconfig 2010-07-05 23:35:29 +09:00
Makefile ASoC: Fix sorting of Makefile and Kconfig 2010-07-05 23:35:29 +09:00
soc-cache.c ASoC: Add debug output tracing all cache register writes 2010-05-05 15:10:17 +01:00
soc-core.c ASoC: Handle read failures in codec_reg 2010-07-14 20:13:09 +01:00
soc-dapm.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
soc-jack.c ASoC: Allow reporting of NULL jacks 2010-04-23 17:07:10 +01:00
soc-utils.c ASoC: Add BCLK calculation utility for TDM mode too 2009-11-25 19:55:46 +00:00