All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/5] linux-igep2: Fix audio capture, the capture result is  always silence
@ 2009-10-27  8:55 Enric Balletbò i Serra
  2009-10-27  9:46 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Enric Balletbò i Serra @ 2009-10-27  8:55 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
---
 conf/machine/include/omap3.inc                     |    2 +-
 .../twl-asoc-fix-record.diff                       |   34 ++++++++++++++++++++
 recipes/linux/linux-igep2_2.6.28.10-0.bb           |    4 ++
 3 files changed, 39 insertions(+), 1 deletions(-)
 create mode 100644
recipes/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff

diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index 675249a..aee61a1 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -1,7 +1,7 @@
 require conf/machine/include/tune-cortexa8.inc
 PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r47"
+MACHINE_KERNEL_PR = "r48"

 KERNEL_IMAGETYPE = "uImage"

diff --git a/recipes/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff
b/recipes/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff
new file mode 100644
index 0000000..9c0ceaa
--- /dev/null
+++ b/recipes/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff
@@ -0,0 +1,34 @@
+From linux-omap-owner@vger.kernel.org Sat Dec 06 02:14:21 2008
+Date: 	Fri, 5 Dec 2008 16:46:34 -0800
+From: "Steve Sakoman" <sakoman@gmail.com>
+To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
+Subject: [FYI PATCH] ASOC:TWL4030 Audio capture fix
+
+A couple of folks have noticed an issue with audio capture -- the
+capture result is always silence.
+
+The patch below is a quick fix for those with this issue.  There are
+substantial changes to the codec driver that will be trickling down
+from ASoC, and they deal with this issue differently.
+
+So consider this as a bandaid for those who don't want to wait for the
+trickle down :-)
+
+Steve
+
+
+diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
+index ee2f0d3..8b4aafb 100644
+--- a/sound/soc/codecs/twl4030.c
++++ b/sound/soc/codecs/twl4030.c
+@@ -45,8 +45,8 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = {
+ 	0xc3, /* REG_OPTION		(0x2)	*/
+ 	0x00, /* REG_UNKNOWN		(0x3)	*/
+ 	0x00, /* REG_MICBIAS_CTL	(0x4)	*/
+-	0x24, /* REG_ANAMICL		(0x5)	*/
+-	0x04, /* REG_ANAMICR		(0x6)	*/
++	0x34, /* REG_ANAMICL		(0x5)	*/
++	0x14, /* REG_ANAMICR		(0x6)	*/
+ 	0x0a, /* REG_AVADC_CTL		(0x7)	*/
+ 	0x00, /* REG_ADCMICSEL		(0x8)	*/
+ 	0x00, /* REG_DIGMIXING		(0x9)	*/
diff --git a/recipes/linux/linux-igep2_2.6.28.10-0.bb
b/recipes/linux/linux-igep2_2.6.28.10-0.bb
index ebe2918..8904724 100644
--- a/recipes/linux/linux-igep2_2.6.28.10-0.bb
+++ b/recipes/linux/linux-igep2_2.6.28.10-0.bb
@@ -10,4 +10,8 @@ DEFAULT_PREFERENCE_igep0020 = "1"
 SRC_URI = "http://downloads.myigep.com/sources/kernel/linux-omap-2.6.28.10-igep0020b-0.tar.gz
\
 	   file://defconfig"

+SRC_URI_append = "\
+	   file://twl-asoc-fix-record.diff;patch=1 \
+	"
+
 S = "${WORKDIR}/linux-omap-2.6.28.10-igep0020b-0"
-- 
1.5.4.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/5] linux-igep2: Fix audio capture, the capture result is always silence
  2009-10-27  8:55 [PATCH 3/5] linux-igep2: Fix audio capture, the capture result is always silence Enric Balletbò i Serra
@ 2009-10-27  9:46 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2009-10-27  9:46 UTC (permalink / raw)
  To: openembedded-devel


On 27-10-09 09:55, Enric Balletbò i Serra wrote:

> diff --git a/recipes/linux/linux-igep2_2.6.28.10-0.bb
> b/recipes/linux/linux-igep2_2.6.28.10-0.bb

linewrapped

>   SRC_URI = "http://downloads.myigep.com/sources/kernel/linux-omap-2.6.28.10-igep0020b-0.tar.gz
> \

linewrapped

This patch doesn't apply, could you resend it using git-send-email?

regards,

Koen




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-27  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27  8:55 [PATCH 3/5] linux-igep2: Fix audio capture, the capture result is always silence Enric Balletbò i Serra
2009-10-27  9:46 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.