linux-omap-pm 2.6.29: add hack to get asoc to register on the touchbook
authorKoen Kooi <koen@openembedded.org>
Thu, 5 Nov 2009 21:44:49 +0000 (22:44 +0100)
committerKoen Kooi <koen@openembedded.org>
Thu, 5 Nov 2009 21:44:49 +0000 (22:44 +0100)
recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/touchbook-sound.diff [new file with mode: 0644]
recipes/linux/linux-omap-pm_2.6.29.bb

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 (file)
index 0000000..919ad66
--- /dev/null
@@ -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");
index 1c7f778..9112c7d 100644 (file)
@@ -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 = " \