[oe-commits] Koen Kooi : linux-omap-pm 2.6.29: add hack to get asoc to register on the touchbook

git version control git at git.openembedded.org
Sun Nov 8 16:28:17 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: b8d29529bec4c3a1d3fed2f6e29880f083d4fb6f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b8d29529bec4c3a1d3fed2f6e29880f083d4fb6f

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Nov  5 22:44:49 2009 +0100

linux-omap-pm 2.6.29: add hack to get asoc to register on the touchbook

---

 .../omap3-touchbook/touchbook-sound.diff           |   18 ++++++++++++++++++
 recipes/linux/linux-omap-pm_2.6.29.bb              |    1 +
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/touchbook-sound.diff b/recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/touchbook-sound.diff
new file mode 100644
index 0000000..919ad66
--- /dev/null
+++ b/recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/touchbook-sound.diff
@@ -0,0 +1,18 @@
+--- /tmp/omap3beagle.c	2009-11-05 22:03:52.000000000 +0100
++++ git/sound/soc/omap/omap3beagle.c	2009-11-05 22:04:31.000000000 +0100
+@@ -139,13 +139,13 @@
+ static int __init omap3beagle_soc_init(void)
+ {
+ 	int ret;
+-
++/*
+ 	if (!machine_is_omap3_beagle()) {
+ 		pr_debug("Not OMAP3 Beagle!\n");
+ 		return -ENODEV;
+ 	}
+ 	pr_info("OMAP3 Beagle SoC init\n");
+-
++*/
+ 	omap3beagle_snd_device = platform_device_alloc("soc-audio", -1);
+ 	if (!omap3beagle_snd_device) {
+ 		printk(KERN_ERR "Platform device allocation failed\n");
diff --git a/recipes/linux/linux-omap-pm_2.6.29.bb b/recipes/linux/linux-omap-pm_2.6.29.bb
index 1c7f778..9112c7d 100644
--- a/recipes/linux/linux-omap-pm_2.6.29.bb
+++ b/recipes/linux/linux-omap-pm_2.6.29.bb
@@ -195,6 +195,7 @@ SRC_URI_append_omap3-touchbook = " file://logo_linux_clut224.ppm \
            file://touchbook-config.patch;patch=1 \
            file://board-omap3touchbook.c \
 #           file://boot-trace-for-optimization.patch;patch=1 \
+           file://touchbook-sound.diff;patch=1 \
 "
 
 SRC_URI_append_omap3evm = " \





More information about the Openembedded-commits mailing list