linux-stable-rt/sound/soc
Kulikov Vasiliy 50e8ce1469 ASoC: imx: check kzalloc() result and fix memory leak
If kzalloc() fails we must exit with -ENOMEM. Also we must free
allocated runtime->private_data on error as it would be lost on next
call to snd_imx_open().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-07-17 19:45:56 +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 Merge branch 'for-2.6.35' into for-2.6.36 2010-07-17 19:45:43 +01:00
davinci ASoC: davinci: check kzalloc() result (typo) 2010-07-17 19:45:56 +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: imx: check kzalloc() result and fix memory leak 2010-07-17 19:45:56 +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: RX-51: Add basic jack detection 2010-06-23 11:29:14 +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: Invert speaker enabling behaviour in SmartQ sound driver 2010-07-06 23:54:06 +09: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 specified ID for soc-audio 2010-07-17 19:45:56 +01: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