kernel-fxtec-pro1x/sound/soc/codecs
Axel Lin ef99e9b5a1 ASoC: wm8523: fix resource reclaim in wm8523_register error path
This patch includes below fixes:
1. If another WM8523 is registered, need to kfree wm8523 before return -EINVAL.
2. If snd_soc_register_codec failed, goto error path to properly free resources.
3. Instead of using mixed in-line and goto style cleanup, use goto style error
   handling if snd_soc_register_dai failed.

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>
2010-08-03 07:44:10 +01:00
..
ac97.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-04-07 08:42:25 -07:00
ac97.h
ad193x.c ASoC: ad193x: add set_sysclk entry to support different clock input 2010-05-21 09:23:49 -07:00
ad193x.h ASoC: ad193x: add set_sysclk entry to support different clock input 2010-05-21 09:23:49 -07:00
ad1836.c ASoC: ad1836: fix a memory leak if another ad1836 is registered 2010-08-03 07:40:26 +01:00
ad1836.h ASoC: ad1836: reset and restore clock control mode in suspend/resume entry 2010-01-25 14:52:22 +00:00
ad1980.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ad1980.h
ad73311.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ad73311.h
ads117x.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ads117x.h ASoC: ADS117x ADC driver 2009-11-04 21:27:53 +00:00
ak4104.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
ak4104.h
ak4535.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
ak4535.h
ak4642.c ASoC: ak4642: fix a memory leak if failed to initialise AK4642 2010-08-03 07:40:41 +01:00
ak4642.h ASoC: Add ak4642/ak4643 codec support 2009-08-21 10:54:02 +01:00
ak4671.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
ak4671.h ASoC: AK4671: add ak4671 codec driver 2009-09-10 00:27:57 +01:00
cq93vc.c ASoC: Remove unneeded suspend bias managment from CODEC drivers 2010-05-10 10:35:25 +01:00
cq93vc.h ASoC: DaVinci: CQ93VC Voice Codec 2010-03-12 11:12:22 +00:00
cs42l51.c ASoC: Add driver for cs42l51 2010-05-31 12:20:02 +01:00
cs42l51.h ASoC: Add driver for cs42l51 2010-05-31 12:20:02 +01:00
cs4270.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
cs4270.h
cx20442.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
cx20442.h ASoC: CX20442: push down machine independent line discipline bits 2009-07-31 22:38:44 +01:00
da7210.c ASoC: da7210: fix a memory leak if failed to initialise da7210 audio codec 2010-08-03 07:43:52 +01:00
da7210.h ASoC: Add DA7210 codec device support for ALSA 2009-12-16 17:31:04 +00:00
jz4740.c ASoC: Add JZ4740 codec driver 2010-06-23 00:10:45 +01:00
jz4740.h ASoC: Add JZ4740 codec driver 2010-06-23 00:10:45 +01:00
Kconfig ASoC: Initial WM8741 CODEC driver 2010-08-03 07:38:15 +01:00
l3.c
Makefile ASoC: Initial WM8741 CODEC driver 2010-08-03 07:38:15 +01:00
max9877.c ASoC: MAX9877: fix write operation for register 2009-07-23 11:08:30 +01:00
max9877.h ASoC: MAX9877: add MAX9877 amp driver 2009-07-15 16:59:31 +01:00
pcm3008.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pcm3008.h
spdif_transciever.c ASoC: Fix S/PDIF build 2010-05-31 13:47:26 +01:00
spdif_transciever.h ASoC: Fix S/PDIF build 2010-05-31 13:47:26 +01:00
ssm2602.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
ssm2602.h
stac9766.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
stac9766.h
tlv320aic3x.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
tlv320aic3x.h ASoC: tlv320aic3x: Change to use device model 2009-08-21 10:52:49 +01:00
tlv320aic23.c codecs/tlv320aic23: fix bias management for suspend/resume 2010-06-23 11:28:53 +01:00
tlv320aic23.h
tlv320aic26.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
tlv320aic26.h
tlv320dac33.c ASoC: tlv320dac33: Add support for automatic FIFO configuration 2010-07-29 10:21:11 +01:00
tlv320dac33.h ASoC: tlv320dac33: typo fix in the header 2009-10-21 19:08:21 +01:00
tpa6130a2.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
tpa6130a2.h ASoC: TPA6130A2: Make tpa6130a2_power as static 2009-10-12 13:40:54 +01:00
twl4030.c ASoC: TWL4030: Capture route DAPM event fix 2010-07-27 11:43:40 +01:00
twl4030.h ASoC: TWL4030: Add configurable delay after digimic enable 2010-07-21 11:57:58 +01:00
twl6040.c ASoC: TWL6040: Correct widget handling for drivers 2010-07-17 19:27:18 +01:00
twl6040.h ASoC: TWL6040: Add twl6040 codec driver 2010-03-19 11:29:33 +00:00
uda134x.c ASoC: uda134x: correct bias level setup for codecs family 2010-06-30 14:46:56 +01:00
uda134x.h ASoC: uda134x: add DATA011 register found in codecs family 2010-06-30 14:46:56 +01:00
uda1380.c ASoC: Remove unneeded suspend bias managment from CODEC drivers 2010-05-10 10:35:25 +01:00
uda1380.h ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
wm2000.c ASoC: Default WM2000 ANC and speaker to enabled 2010-06-15 15:14:00 +01:00
wm2000.h ASoC: Add WM2000 driver 2010-02-12 10:31:06 +00:00
wm8350.c Merge branch 'for-2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into fix/asoc 2010-05-27 09:46:10 +02:00
wm8350.h ASoC: Implement WM835x microphone jack detection support 2010-03-17 09:27:19 +00:00
wm8400.c Merge branch 'for-2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into fix/asoc 2010-05-27 09:46:10 +02:00
wm8400.h
wm8510.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8510.h
wm8523.c ASoC: wm8523: fix resource reclaim in wm8523_register error path 2010-08-03 07:44:10 +01:00
wm8523.h ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8580.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8580.h
wm8711.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8711.h ASoC: Add WM8711 CODEC driver 2009-08-18 20:37:49 +01:00
wm8727.c ASoC: wm8727: add a missing return in wm8727_platform_probe 2010-07-14 20:12:18 +01:00
wm8727.h ASoC: Add support for the WM8727 DAC. 2009-11-02 15:24:19 +00:00
wm8728.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8728.h
wm8731.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8731.h
wm8741.c ASoC: Initial WM8741 CODEC driver 2010-08-03 07:38:15 +01:00
wm8741.h ASoC: Initial WM8741 CODEC driver 2010-08-03 07:38:15 +01:00
wm8750.c ASoC: codec: Add WM8987 device id to WM8750 driver 2010-07-04 18:02:07 +09:00
wm8750.h
wm8753.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8753.h
wm8776.c ASoC: Remove duplicate AUX definition from WM8776 2010-07-17 19:44:40 +01:00
wm8776.h ASoC: Add WM8776 CODEC driver 2009-08-06 11:36:45 +01:00
wm8900.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8900.h
wm8903.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8903.h ASoC: Implement interrupt driven microphone detection for WM8903 2010-03-16 15:57:43 +00:00
wm8904.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8904.h ASoC: Support GPIO based microphone detection for WM8904 2010-03-16 16:03:30 +00:00
wm8940.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8940.h
wm8955.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8955.h ASoC: Add initial WM8955 CODEC driver 2009-12-18 13:06:47 +00:00
wm8960.c ASoC: Automatically manage ALC coefficients for WM8960 2010-07-06 08:46:10 +09:00
wm8960.h ASoC: Remove redundant WM8960 SYSCLKSEL clkdiv option 2010-04-28 11:33:04 +01:00
wm8961.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8961.h
wm8971.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8971.h
wm8974.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8974.h ASoC: clean up wm8974 and wm8978 clock divider handling 2010-01-29 14:32:52 +00:00
wm8978.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8978.h ASoC: clean up wm8974 and wm8978 clock divider handling 2010-01-29 14:32:52 +00:00
wm8988.c ASoC:: remove a redundant snd_soc_unregister_codec call in wm8988_register 2010-07-14 20:12:31 +01:00
wm8988.h
wm8990.c Merge commit 'v2.6.35-rc1' into for-2.6.36 2010-05-31 11:07:15 +01:00
wm8990.h
wm8993.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm8993.h ASoC: Add WM8993 CODEC driver 2009-07-08 17:20:20 +01:00
wm8994.c ASoC: Unconditionally enable WM8994 AIF1ADC TDM mode 2010-07-20 10:27:05 +01:00
wm8994.h ASoC: Implement WM8994 OPCLK support 2010-07-09 08:50:12 +09:00
wm9081.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm9081.h
wm9090.c ASoC: Add WM9090 amplifier driver 2010-04-30 16:12:44 +01:00
wm9090.h ASoC: Add WM9090 amplifier driver 2010-04-30 16:12:44 +01:00
wm9705.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm9705.h
wm9712.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm9712.h
wm9713.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
wm9713.h
wm_hubs.c ASoC: Explicitly disable DC servo on WM hubs headphone powerdown 2010-07-20 09:48:07 +01:00
wm_hubs.h ASoC: Support second DC servo readback method for wm_hubs 2010-04-05 16:19:09 +01:00