diff options
author | Rajashekhara, Sudhakar <sudhakar.raj@ti.com> | 2011-01-21 21:13:06 +0530 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-02-28 14:53:19 -0800 |
commit | b3d1ffb2a5294c74fcf1579499115e1e33b8f487 (patch) | |
tree | 65cdb1cd67059a33290e5c24004652064717d0c7 /arch | |
parent | f5412be599602124d2bdd49947b231dd77c0bf99 (diff) | |
download | kernel_samsung_espresso10-b3d1ffb2a5294c74fcf1579499115e1e33b8f487.zip kernel_samsung_espresso10-b3d1ffb2a5294c74fcf1579499115e1e33b8f487.tar.gz kernel_samsung_espresso10-b3d1ffb2a5294c74fcf1579499115e1e33b8f487.tar.bz2 |
davinci: da8xx/omap-l1x: add platform device for davinci-pcm-audio
After the multi-component commit f0fba2ad (ASoC: multi-component - ASoC
Multi-Component Support) for ASoC, we need to register the platform
device for davinci-pcm-audio.
This patch and patch at [1] are required for audio to work on
DA850/OMAP-L138.
[1] https://patchwork.kernel.org/patch/495211/
Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-davinci/devices-da8xx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index 9eec630..beda8a4 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c @@ -480,8 +480,15 @@ static struct platform_device da850_mcasp_device = { .resource = da850_mcasp_resources, }; +struct platform_device davinci_pcm_device = { + .name = "davinci-pcm-audio", + .id = -1, +}; + void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata) { + platform_device_register(&davinci_pcm_device); + /* DA830/OMAP-L137 has 3 instances of McASP */ if (cpu_is_davinci_da830() && id == 1) { da830_mcasp1_device.dev.platform_data = pdata; |