linux/sound/soc/samsung
Prathyush K c6f9b1eb0e ASoC: Samsung: set drvdata before adding secondary device
Currently, a new platform device is created for secondary device
by calling platform_device_register_resndata and then the drvdata
is set for this device.

The following patch has been added to driver core:
"driver core: fix possible missing of device probe".

This results in the added device getting probed immediately but
the drvdata for the secondary device is not yet set.
This patch removes the platform_device_register_resndata call and
instead calls platform_device_alloc, platform_set_drvdata and
platform_device_add which fixes the above issue.

Signed-off-by: Prathyush K <prathyush.k@samsung.com>
Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-04-03 17:56:44 +01:00
..
Kconfig ASoC: Samsung: Update Kconfig for I2S,SPDIF and PCM audio 2013-01-29 15:36:28 +08:00
Makefile ASoC: bells: Add machine driver for Wolfson Bells boards 2012-08-09 19:34:30 +01:00
ac97.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
bells.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
dma.c ASoC: samsung: Add DT support for i2s 2013-01-29 12:47:46 +08:00
dma.h ASoC: samsung: Add DT support for i2s 2013-01-29 12:47:46 +08:00
goni_wm8994.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
h1940_uda1380.c ARM: S3C24XX: make h1940.h and h1940-latch.h local 2013-01-10 10:45:35 -08:00
i2s-regs.h ASoC: SAMSUNG: Add idma related register definition 2011-06-26 12:05:23 +01:00
i2s.c ASoC: Samsung: set drvdata before adding secondary device 2013-04-03 17:56:44 +01:00
i2s.h ASoC: samsung: Rename samsung i2s secondary device name 2013-01-24 14:40:13 +08:00
idma.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09: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: remove __dev* attributes 2012-12-10 00:30:19 +09: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: remove __dev* attributes 2012-12-10 00:30:19 +09:00
neo1973_wm8753.c ARM: S3C24XX: make gta02.h local 2013-01-10 10:45:35 -08:00
pcm.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
pcm.h ASoC: SAMSUNG: Move PCM specific definitions into pcm.c 2011-01-10 11:38:22 +00:00
regs-i2s-v2.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
rx1950_uda1380.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
s3c-i2s-v2.c ASoC: samsung: s3c-i2s-v2.c needs module.h 2011-10-03 21:34:12 +01:00
s3c-i2s-v2.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
s3c24xx-i2s.c ASoC: samsung: Fix compilation error on S3C2440 2013-01-31 14:48:39 +08:00
s3c24xx-i2s.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
s3c24xx_simtec.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c24xx_simtec.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
s3c24xx_simtec_hermes.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c24xx_simtec_tlv320aic23.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c24xx_uda134x.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
s3c2412-i2s.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c2412-i2s.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
smartq_wm8987.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09: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: Rename samsung i2s secondary device name 2013-01-24 14:40:13 +08:00
smdk_wm8580pcm.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
smdk_wm8994.c ASoC: SMDK: WM8994: Add device tree support for machine file 2013-01-29 15:36:28 +08:00
smdk_wm8994pcm.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
smdk_wm9713.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
spdif.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
spdif.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
speyside.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
tobermory.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00