diff options
author | Miguel Aguilar <miguel.aguilar@ridgerun.com> | 2010-03-11 10:33:40 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-12 06:12:24 -0500 |
commit | aa9b88ee80d3985ebae9567a8f4e0d07ce15b5a7 (patch) | |
tree | e7f21d75bfeabafebe2ef6a8ab0447559939fec2 /arch/arm/mach-davinci/board-dm365-evm.c | |
parent | b56e972b75a945e97818437720551859c7ef2d53 (diff) |
DaVinci: DM365: Voice Codec support for the DM365 EVM
The DM365 EVM has two codecs: the Audio Codec (AIC3x) and the Voice Codec,
the idea is to have both enabled in the same kernel simultaneously. However,
the current soc-core doesn't support simultaneous codecs, once that
support will have added, a patch will be posted to enable both codecs in
the DM365 EVM.
Signed-off-by: Miguel Aguilar <miguel.aguilar@ridgerun.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm365-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm365-evm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index d15beceb632e..512174a874a1 100644 --- a/arch/arm/mach-davinci/board-dm365-evm.c +++ b/arch/arm/mach-davinci/board-dm365-evm.c | |||
@@ -604,7 +604,11 @@ static __init void dm365_evm_init(void) | |||
604 | /* maybe setup mmc1/etc ... _after_ mmc0 */ | 604 | /* maybe setup mmc1/etc ... _after_ mmc0 */ |
605 | evm_init_cpld(); | 605 | evm_init_cpld(); |
606 | 606 | ||
607 | #ifdef CONFIG_SND_DM365_AIC3X_CODEC | ||
607 | dm365_init_asp(&dm365_evm_snd_data); | 608 | dm365_init_asp(&dm365_evm_snd_data); |
609 | #elif defined(CONFIG_SND_DM365_VOICE_CODEC) | ||
610 | dm365_init_vc(&dm365_evm_snd_data); | ||
611 | #endif | ||
608 | dm365_init_rtc(); | 612 | dm365_init_rtc(); |
609 | dm365_init_ks(&dm365evm_ks_data); | 613 | dm365_init_ks(&dm365evm_ks_data); |
610 | 614 | ||