Title: [7492] trunk/sound/soc/codecs: task[#5443]increase the driven ability of DAIA
Revision
7492
Author
cliff
Date
2009-09-28 05:45:08 -0400 (Mon, 28 Sep 2009)

Log Message

task[#5443]increase the driven ability of DAIA

Modified Paths

Diff

Modified: trunk/sound/soc/codecs/adau1371.c (7491 => 7492)


--- trunk/sound/soc/codecs/adau1371.c	2009-09-28 09:29:40 UTC (rev 7491)
+++ trunk/sound/soc/codecs/adau1371.c	2009-09-28 09:45:08 UTC (rev 7492)
@@ -968,6 +968,8 @@
 	reg = PWRCTLB_RLNPD | PWRCTLB_LLNPD | PWRCTLB_RDACPD |
 		PWRCTLB_LDACPD | PWRCTLB_PWDB;
 	adau1371_write(codec, ADAU1371_PWRCTLB, reg);
+	/* Increase the driven ability of DAIA, maybe not necessary in real use */
+	adau1371_write(codec, ADAU1371_PAD_CTL, PADCTL_DAIA);
 
 	/* Enable Dynamic range control */
 	adau1371_write(codec, ADAU1371_DRCCTL1, 0x07);

Modified: trunk/sound/soc/codecs/adau1371.h (7491 => 7492)


--- trunk/sound/soc/codecs/adau1371.h	2009-09-28 09:29:40 UTC (rev 7491)
+++ trunk/sound/soc/codecs/adau1371.h	2009-09-28 09:45:08 UTC (rev 7492)
@@ -94,6 +94,7 @@
 #define ADAU1371_DSPMODE	0xA2
 
 #define ADAU1371_DIGMIC		0xB1
+#define ADAU1371_PAD_CTL	0xB7
 #define ADAU1371_DIGEN		0xC0
 #define ADAU1371_RESET		0xFF
 
@@ -199,6 +200,13 @@
 #define DSPMODE_PLAYBACK_ENA	0x01
 #define DSPMODE_CAPTURE_ENA	0x02
 
+/* PAD_CTL */
+#define PADCTL_DAIA	0x01
+#define PADCTL_DAIB	0x02
+#define PADCTL_GPIO	0x04
+#define PADCTL_I2C	0x08
+#define PADCTL_I2CFLT	0x10
+
 #define BE_SHIFT		2
 #define EQ_SHIFT		4
 #define HPF_SHIFT		6
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to