diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-10-27 18:47:09 +0100 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-10-27 18:47:09 +0100 |
commit | f07cd5560eabb7307f974cd3d0a5ced57ed5a3db (patch) | |
tree | d975a55cee22832926572278497bd221ef18c421 /recipes/linux | |
parent | 6f36bd6e28bce49b72e5a3cff77e0c74b8f65e41 (diff) | |
parent | 5642836ea59a6bff972b1c921d4df89e63eb5db3 (diff) |
Merge branch 'org.openembedded.dev' of ssh://git@git.openembedded.net/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/linux')
-rw-r--r-- | recipes/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff | 34 | ||||
-rw-r--r-- | recipes/linux/linux-igep2_2.6.28.10-0.bb | 4 |
2 files changed, 38 insertions, 0 deletions
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 0000000000..9c0ceaa2e0 --- /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 ebe291807a..c346da785c 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" |