[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-cvs
Subject: funman: r25391 - trunk/firmware/drivers/audio
From: mailer () svn ! rockbox ! org
Date: 2010-03-29 22:52:19
Message-ID: 201003292252.o2TMqJd8011656 () giant ! haxx ! se
[Download RAW message or body]
Date: 2010-03-30 00:52:19 +0200 (Tue, 30 Mar 2010)
New Revision: 25391
Log Message:
as3525v2: microphone recording
Modified:
trunk/firmware/drivers/audio/as3514.c
Modified: trunk/firmware/drivers/audio/as3514.c
===================================================================
--- trunk/firmware/drivers/audio/as3514.c 2010-03-29 22:26:58 UTC (rev 25390)
+++ trunk/firmware/drivers/audio/as3514.c 2010-03-29 22:52:19 UTC (rev 25391)
@@ -347,6 +347,11 @@
as3514_write_masked(AS3514_AUDIOSET1, AUDIOSET1_MIC1_on,
AUDIOSET1_INPUT_MASK);
+#if CONFIG_CPU == AS3525v2
+ /* Enable supply */
+ as3514_clear(AS3514_MIC1_L, MIC1_L_M1_SUP_off);
+#endif
+
/* M1_AGC_off */
as3514_clear(AS3514_MIC1_R, MIC1_R_M1_AGC_off);
} else {
@@ -357,6 +362,11 @@
/* LIN1_or LIN2 on, rest off */
as3514_write_masked(AS3514_AUDIOSET1, AUDIOSET1_LIN_on,
AUDIOSET1_INPUT_MASK);
+
+#if CONFIG_CPU == AS3525v2
+ /* Disable supply */
+ as3514_set(AS3514_MIC1_L, MIC1_L_M1_SUP_off);
+#endif
}
/* ADC_Mute_off */
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic