linux-sg2042/sound/soc/samsung
Charles Keepax 133c2681c4 ASoC: samsung-i2s: Check secondary DAI exists before referencing
In a couple of places the driver is missing a check to ensure there is a
secondary DAI before it de-references the pointer to it, causing a null
pointer de-reference. This patch adds a check to avoid this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
2014-09-09 20:59:06 +01:00
..
Kconfig ASoC: samsung: s3c24xx dmaengine follow-up 2014-07-14 19:53:10 +01:00
Makefile ASoC: samsung: s3c24xx dmaengine follow-up 2014-07-14 19:53:10 +01:00
ac97.c ASoC: samsung: remove unused DMA data 2014-07-14 19:53:43 +01:00
bells.c ASoC: samsung: Use devm_snd_soc_register_card 2014-05-22 00:20:11 +01:00
dma.h ASoC: samsung: remove unused DMA data 2014-07-14 19:53:43 +01:00
dmaengine.c ASoC: samsung: s3c24{xx,12}-i2s: port to use generic dmaengine API 2014-06-24 11:57:43 +01:00
goni_wm8994.c ARM: mach-s5p: get rid of all <mach/gpio.h> headers 2014-06-30 21:37:21 +02:00
h1940_uda1380.c ASoC: Fix wrong argument for card remove callbacks 2014-06-03 12:52:21 +02:00
i2s-regs.h ASoC: Samsung: I2S: Modify the I2S driver to support I2S on Exynos5420 2013-08-13 13:44:09 +01:00
i2s.c ASoC: samsung-i2s: Check secondary DAI exists before referencing 2014-09-09 20:59:06 +01:00
i2s.h ASoC: samsung: Allow setting OP_CLK of the IIS Multi Audio Interface 2014-05-20 23:20:57 +01:00
idma.c ASoC: samsung: Remove unused variable from idma.c 2014-06-27 12:02:20 +01:00
idma.h ASoC: Fix __iomem annotation for IDMA registers 2011-11-29 17:28:16 +00:00
jive_wm8750.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
littlemill.c ASoC: samsung: Use devm_snd_soc_register_card 2014-05-22 00:20:11 +01:00
ln2440sbc_alc650.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
lowland.c ASoC: samsung: Use devm_snd_soc_register_card 2014-05-22 00:20:11 +01:00
neo1973_wm8753.c ASoC: neo1973_wm8753: Automatically disconnected non-connected pins 2014-05-20 23:29:22 +01:00
odroidx2_max98090.c ASoC: samsung: Add machine driver for Odroid X2/U3 2014-07-09 10:34:18 +02:00
pcm.c ASoC: samsung: remove unused DMA data 2014-07-14 19:53:43 +01:00
pcm.h ASoC: SAMSUNG: Move PCM specific definitions into pcm.c 2011-01-10 11:38:22 +00:00
regs-ac97.h ASoC: samsung: Trivial cleanups in header files 2013-12-30 12:05:56 +00:00
regs-i2s-v2.h
regs-iis.h ASoC: samsung: Trivial cleanups in header files 2013-12-30 12:05:56 +00:00
rx1950_uda1380.c ASoC: Fix wrong argument for card remove callbacks 2014-06-03 12:52:21 +02:00
s3c-i2s-v2.c ASoC: samsung: remove unused DMA data 2014-07-14 19:53:43 +01:00
s3c-i2s-v2.h ASoC: switch over to use snd_soc_register_component() on s3c i2s 2013-03-26 21:57:31 +00:00
s3c24xx-i2s.c ASoC: samsung: remove unused DMA data 2014-07-14 19:53:43 +01:00
s3c24xx-i2s.h
s3c24xx_simtec.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c24xx_simtec.h
s3c24xx_simtec_hermes.c ASoC: Remove needless snd_soc_dapm_enable_pin() from machine driver inits 2014-05-19 17:19:18 +01:00
s3c24xx_simtec_tlv320aic23.c ASoC: Remove needless snd_soc_dapm_enable_pin() from machine driver inits 2014-05-19 17:19:18 +01:00
s3c24xx_uda134x.c ASoC: samsung: move plat/ headers to local directory 2013-04-11 18:17:38 +01:00
s3c2412-i2s.c ASoC: samsung: Fix return value check in s3c2412_iis_dev_probe() 2014-07-29 19:55:53 +01:00
s3c2412-i2s.h
smartq_wm8987.c ASoC: Fix wrong argument for card remove callbacks 2014-06-03 12:52:21 +02:00
smdk2443_wm9710.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
smdk_spdif.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
smdk_wm8580.c ASoC: samsung: Use params_width() 2014-05-26 17:04:20 +01:00
smdk_wm8580pcm.c ASoC: samsung: no more support for S5P6440 and S5P6450 SoCs 2014-07-14 19:04:57 +01:00
smdk_wm8994.c Merge remote-tracking branches 'asoc/topic/samsung', 'asoc/topic/sgtl5000', 'asoc/topic/simple' and 'asoc/topic/sirf' into asoc-next 2014-06-03 10:39:57 +01:00
smdk_wm8994pcm.c ASoC: samsung: Use devm_snd_soc_register_card 2014-05-22 00:20:11 +01:00
smdk_wm9713.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
snow.c ASoC: samsung: Make card name for Snow configurable 2014-07-04 20:31:45 +01:00
spdif.c ASoC: samsung: remove unused DMA data 2014-07-14 19:53:43 +01:00
spdif.h
speyside.c ASoC: samsung: Use devm_snd_soc_register_card 2014-05-22 00:20:11 +01:00
tobermory.c ASoC: samsung: Use devm_snd_soc_register_card 2014-05-22 00:20:11 +01:00