ASoC: msm7x27A: Added support for ALSA driver
ALSA driver from legacy are enabled to work on 7x27A
and 7x27A.
CRs-Fixed: 299738
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
Conflicts:
arch/arm/mach-msm/board-msm7x27a.c
diff --git a/arch/arm/mach-msm/board-msm7x27a.c b/arch/arm/mach-msm/board-msm7x27a.c
index 4248e87..ba9d15f 100644
--- a/arch/arm/mach-msm/board-msm7x27a.c
+++ b/arch/arm/mach-msm/board-msm7x27a.c
@@ -2549,6 +2549,9 @@
#if defined(CONFIG_BT) && defined(CONFIG_MARIMBA_CORE)
&msm_wlan_ar6000_pm_device,
#endif
+ &asoc_msm_pcm,
+ &asoc_msm_dai0,
+ &asoc_msm_dai1,
};
static unsigned pmem_kernel_ebi1_size = PMEM_KERNEL_EBI1_SIZE;
diff --git a/arch/arm/mach-msm/devices-msm7x27a.c b/arch/arm/mach-msm/devices-msm7x27a.c
index 6184a64..ac5c2bf 100644
--- a/arch/arm/mach-msm/devices-msm7x27a.c
+++ b/arch/arm/mach-msm/devices-msm7x27a.c
@@ -651,6 +651,21 @@
},
};
+struct platform_device asoc_msm_pcm = {
+ .name = "msm-dsp-audio",
+ .id = 0,
+};
+
+struct platform_device asoc_msm_dai0 = {
+ .name = "msm-codec-dai",
+ .id = 0,
+};
+
+struct platform_device asoc_msm_dai1 = {
+ .name = "msm-cpu-dai",
+ .id = 0,
+};
+
static struct msm_acpu_clock_platform_data msm7x2x_clock_data = {
.acpu_switch_time_us = 50,
.max_speed_delta_khz = 400000,