summaryrefslogtreecommitdiff
path: root/sound/soc/ux500/ux500_pcm.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-11-23 17:05:41 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-23 18:06:02 +0400
commit1428c20f7c38e9fbf59923d1b9615ebdaf2862b7 (patch)
tree9b946dc80e618243e5895f5b3fcdda8e746a6146 /sound/soc/ux500/ux500_pcm.h
parentf61ab093828df646b5df35f244577859efe4329c (diff)
downloadlinux-1428c20f7c38e9fbf59923d1b9615ebdaf2862b7.tar.xz
ASoC: Ux500: Initialise PCM from MSP probe rather than as a device
The PCM is a pseudo-device. It doesn't have any of it's own registers or hardware. It rather acts as a layer of abstraction for DMA transfers. Hence, instead of classifying it as a device in its own right, we call the initialisation from the MSP driver. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Ola LILJA2 <ola.o.lilja@stericsson.com> Cc: alsa-devel@alsa-project.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/ux500/ux500_pcm.h')
-rw-r--r--sound/soc/ux500/ux500_pcm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/ux500/ux500_pcm.h b/sound/soc/ux500/ux500_pcm.h
index 77ed44d371e9..76d344476afc 100644
--- a/sound/soc/ux500/ux500_pcm.h
+++ b/sound/soc/ux500/ux500_pcm.h
@@ -32,4 +32,7 @@
#define UX500_PLATFORM_PERIODS_MAX 48
#define UX500_PLATFORM_BUFFER_BYTES_MAX (2048 * PAGE_SIZE)
+int ux500_pcm_register_platform(struct platform_device *pdev);
+int ux500_pcm_unregister_platform(struct platform_device *pdev);
+
#endif