summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-pm-2.6.29/fix-audio-capture.patch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-06-22 23:26:27 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-06-22 23:26:27 +0400
commit0dcaad77742245477b34542b49c66e91d16a147d (patch)
tree39d249bcd89e10b7536a887722e78a354d8c7801 /recipes/linux/linux-omap-pm-2.6.29/fix-audio-capture.patch
parent0319a593f77ce050606bc3aa469f607ae1b69870 (diff)
parentadb9174a2feaf3718b72256adc35580313f328c7 (diff)
Merge branch 'org.openembedded.dev' of git://git.openembedded.org/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/linux/linux-omap-pm-2.6.29/fix-audio-capture.patch')
-rw-r--r--recipes/linux/linux-omap-pm-2.6.29/fix-audio-capture.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-pm-2.6.29/fix-audio-capture.patch b/recipes/linux/linux-omap-pm-2.6.29/fix-audio-capture.patch
new file mode 100644
index 0000000000..7470a7cacc
--- /dev/null
+++ b/recipes/linux/linux-omap-pm-2.6.29/fix-audio-capture.patch
@@ -0,0 +1,33 @@
+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) */
+- 0x20, /* REG_ANAMICL (0x5) */
+- 0x00, /* REG_ANAMICR (0x6) */
++ 0x34, /* REG_ANAMICL (0x5) */
++ 0x14, /* REG_ANAMICR (0x6) */
+ 0x00, /* REG_AVADC_CTL (0x7) */
+ 0x00, /* REG_ADCMICSEL (0x8) */
+ 0x00, /* REG_DIGMIXING (0x9) */
+
+--- /tmp/Kconfig 2009-06-20 13:13:21.000000000 +0200
++++ git/sound/soc/omap/Kconfig 2009-06-20 13:14:02.000000000 +0200
+@@ -15,6 +15,14 @@
+ help
+ Say Y if you want to add support for SoC audio on Nokia N810.
+
++config SND_OMAP_SOC_OMAP3_BEAGLE
++ tristate "SoC Audio support for OMAP3 Beagle"
++ depends on SND_OMAP_SOC && MACH_OMAP3_BEAGLE
++ select SND_OMAP_SOC_MCBSP
++ select SND_SOC_TWL4030
++ help
++ Say Y if you want to add support for SoC audio on the Beagleboard.
++
+ config SND_OMAP_SOC_OSK5912
+ tristate "SoC Audio support for omap osk5912"
+ depends on SND_OMAP_SOC && MACH_OMAP_OSK