[alsa-devel] [PATCH 4/4] ALSA: ASoC: Davinci: Fixed missing McBSP pinmux for SFFSDR

Hugo Villeneuve hugo at hugovil.com
Tue Mar 10 04:32:09 CET 2009


Signed-off-by: Hugo Villeneuve <hugo at hugovil.com>
---
 sound/soc/davinci/davinci-sffsdr.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/davinci/davinci-sffsdr.c b/sound/soc/davinci/davinci-sffsdr.c
index 7fdfba8..1fc53c1 100644
--- a/sound/soc/davinci/davinci-sffsdr.c
+++ b/sound/soc/davinci/davinci-sffsdr.c
@@ -31,6 +31,7 @@
 #endif
 #include <mach/asp.h>
 #include <mach/edma.h>
+#include <mach/mux.h>
 
 #include "../codecs/pcm3008.h"
 #include "davinci-pcm.h"
@@ -135,6 +136,8 @@ static int __init sffsdr_init(void)
 	if (!machine_is_sffsdr())
 		return -EINVAL;
 
+	davinci_cfg_reg(DM644X_MCBSP);
+
 	sffsdr_snd_device = platform_device_alloc("soc-audio", 0);
 	if (!sffsdr_snd_device) {
 		printk(KERN_ERR "platform device allocation failed\n");
-- 
1.5.5



More information about the Alsa-devel mailing list