Commit 8df89bc3 authored by Mike Rapoport's avatar Mike Rapoport Committed by Mark Brown

ASoC: OMAP: enable Overo driver for CM-T35

Signed-off-by: default avatarMike Rapoport <mike@compulab.co.il>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Acked-by: default avatarSteve Sakoman <steve@sakoman.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 0a3f5e35
...@@ -43,12 +43,13 @@ config SND_OMAP_SOC_OSK5912 ...@@ -43,12 +43,13 @@ config SND_OMAP_SOC_OSK5912
Say Y if you want to add support for SoC audio on osk5912. Say Y if you want to add support for SoC audio on osk5912.
config SND_OMAP_SOC_OVERO config SND_OMAP_SOC_OVERO
tristate "SoC Audio support for Gumstix Overo" tristate "SoC Audio support for Gumstix Overo and CompuLab CM-T35"
depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OVERO depends on TWL4030_CORE && SND_OMAP_SOC && (MACH_OVERO || MACH_CM_T35)
select SND_OMAP_SOC_MCBSP select SND_OMAP_SOC_MCBSP
select SND_SOC_TWL4030 select SND_SOC_TWL4030
help help
Say Y if you want to add support for SoC audio on the Gumstix Overo. Say Y if you want to add support for SoC audio on the
Gumstix Overo or CompuLab CM-T35
config SND_OMAP_SOC_OMAP2EVM config SND_OMAP_SOC_OMAP2EVM
tristate "SoC Audio support for OMAP2EVM board" tristate "SoC Audio support for OMAP2EVM board"
......
...@@ -107,8 +107,8 @@ static int __init overo_soc_init(void) ...@@ -107,8 +107,8 @@ static int __init overo_soc_init(void)
{ {
int ret; int ret;
if (!machine_is_overo()) { if (!(machine_is_overo() || machine_is_cm_t35())) {
pr_debug("Not Overo!\n"); pr_debug("Incomatible machine!\n");
return -ENODEV; return -ENODEV;
} }
printk(KERN_INFO "overo SoC init\n"); printk(KERN_INFO "overo SoC init\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment