diff options
author | Koen Kooi <koen@openembedded.org> | 2009-11-05 22:44:49 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-11-05 22:44:49 +0100 |
commit | b8d29529bec4c3a1d3fed2f6e29880f083d4fb6f (patch) | |
tree | 8c30994715bed2abd6861723b4c3dbcbb102be51 | |
parent | 97ae1779962922e110b3d990c23cac9f73aa0e21 (diff) |
linux-omap-pm 2.6.29: add hack to get asoc to register on the touchbook
-rw-r--r-- | recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/touchbook-sound.diff | 18 | ||||
-rw-r--r-- | 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 0000000000..919ad66c1d --- /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 1c7f778a66..9112c7dd8a 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 = " \ |