diff options
author | Enric Balletbo i Serra <eballetbo@iseebcn.com> | 2009-10-27 13:18:59 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-12 16:51:41 +0000 |
commit | 073faab2b19e7e81d6dda255528171c624c44db2 (patch) | |
tree | bb79638263a3039c6881b8dc0095f2af49929c0a /meta | |
parent | 7a8660600ecf485122ffaf15e226eedec757d1d9 (diff) | |
download | poky-073faab2b19e7e81d6dda255528171c624c44db2.tar.gz |
linux-igep2: Fix audio capture, the capture result is always silence
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff | 34 | ||||
-rw-r--r-- | meta/packages/linux/linux-igep2_2.6.28.10-0.bb | 6 |
2 files changed, 39 insertions, 1 deletions
diff --git a/meta/packages/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff b/meta/packages/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff new file mode 100644 index 0000000000..9c0ceaa2e0 --- /dev/null +++ b/meta/packages/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff | |||
@@ -0,0 +1,34 @@ | |||
1 | From linux-omap-owner@vger.kernel.org Sat Dec 06 02:14:21 2008 | ||
2 | Date: Fri, 5 Dec 2008 16:46:34 -0800 | ||
3 | From: "Steve Sakoman" <sakoman@gmail.com> | ||
4 | To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org> | ||
5 | Subject: [FYI PATCH] ASOC:TWL4030 Audio capture fix | ||
6 | |||
7 | A couple of folks have noticed an issue with audio capture -- the | ||
8 | capture result is always silence. | ||
9 | |||
10 | The patch below is a quick fix for those with this issue. There are | ||
11 | substantial changes to the codec driver that will be trickling down | ||
12 | from ASoC, and they deal with this issue differently. | ||
13 | |||
14 | So consider this as a bandaid for those who don't want to wait for the | ||
15 | trickle down :-) | ||
16 | |||
17 | Steve | ||
18 | |||
19 | |||
20 | diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c | ||
21 | index ee2f0d3..8b4aafb 100644 | ||
22 | --- a/sound/soc/codecs/twl4030.c | ||
23 | +++ b/sound/soc/codecs/twl4030.c | ||
24 | @@ -45,8 +45,8 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = { | ||
25 | 0xc3, /* REG_OPTION (0x2) */ | ||
26 | 0x00, /* REG_UNKNOWN (0x3) */ | ||
27 | 0x00, /* REG_MICBIAS_CTL (0x4) */ | ||
28 | - 0x24, /* REG_ANAMICL (0x5) */ | ||
29 | - 0x04, /* REG_ANAMICR (0x6) */ | ||
30 | + 0x34, /* REG_ANAMICL (0x5) */ | ||
31 | + 0x14, /* REG_ANAMICR (0x6) */ | ||
32 | 0x0a, /* REG_AVADC_CTL (0x7) */ | ||
33 | 0x00, /* REG_ADCMICSEL (0x8) */ | ||
34 | 0x00, /* REG_DIGMIXING (0x9) */ | ||
diff --git a/meta/packages/linux/linux-igep2_2.6.28.10-0.bb b/meta/packages/linux/linux-igep2_2.6.28.10-0.bb index 9eec02878c..e7e7ccf3fa 100644 --- a/meta/packages/linux/linux-igep2_2.6.28.10-0.bb +++ b/meta/packages/linux/linux-igep2_2.6.28.10-0.bb | |||
@@ -7,9 +7,13 @@ COMPATIBLE_MACHINE = "igep0020b" | |||
7 | 7 | ||
8 | DEFAULT_PREFERENCE_igep0020b = "1" | 8 | DEFAULT_PREFERENCE_igep0020b = "1" |
9 | 9 | ||
10 | PR = "r0" | 10 | PR = "r1" |
11 | 11 | ||
12 | SRC_URI = "http://downloads.myigep.com/sources/kernel/linux-omap-2.6.28.10-igep0020b-0.tar.gz \ | 12 | SRC_URI = "http://downloads.myigep.com/sources/kernel/linux-omap-2.6.28.10-igep0020b-0.tar.gz \ |
13 | file://defconfig" | 13 | file://defconfig" |
14 | 14 | ||
15 | SRC_URI_append = " \ | ||
16 | file://twl-asoc-fix-record.diff;patch=1 \ | ||
17 | " | ||
18 | |||
15 | S = "${WORKDIR}/linux-omap-2.6.28.10-igep0020b-0" | 19 | S = "${WORKDIR}/linux-omap-2.6.28.10-igep0020b-0" |