linux-omap-psp 2.6.32: bump SRCREV
authorKoen Kooi <k-kooi@ti.com>
Thu, 21 Jan 2010 08:02:35 +0000 (09:02 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:12 +0000 (19:43 +0200)
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/linux/linux-omap-psp-2.6.32/fix-usbgadgets.diff [new file with mode: 0755]
recipes/linux/linux-omap-psp_2.6.32.bb

diff --git a/recipes/linux/linux-omap-psp-2.6.32/fix-usbgadgets.diff b/recipes/linux/linux-omap-psp-2.6.32/fix-usbgadgets.diff
new file mode 100755 (executable)
index 0000000..04309bf
--- /dev/null
@@ -0,0 +1,26 @@
+From: Gupta, Ajay Kumar
+Sent: 21 January, 2010 06:23
+To: Kooi, Koen
+
+Koen,
+
+Enabling USB Audio Gadget is showing this issue. I tested with
+File storage and CDC gadget and didn\92t observe this.
+
+Please use below patch to fix it,
+
+-------------------------------- 
+diff --git a/drivers/usb/gadget/gadget_chips.h b/drivers/usb/gadget/gadget_chips.h
+index c75f777..2868d3c 100644
+--- a/drivers/usb/gadget/gadget_chips.h
++++ b/drivers/usb/gadget/gadget_chips.h
+@@ -15,6 +15,8 @@
+ #ifndef __GADGET_CHIPS_H
+ #define __GADGET_CHIPS_H
+
++#include <plat/cpu.h>
++
+ #ifdef CONFIG_USB_GADGET_NET2280
+ #define        gadget_is_net2280(g)    !strcmp("net2280", (g)->name)
+ #else
+
index 9340242..c106888 100644 (file)
@@ -5,7 +5,7 @@ KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "beagleboard|omap3evm|am3517-evm"
 
-SRCREV = "2c5504f599eaef46a9cacf5bbbcff3175ac15525"
+SRCREV = "2b94bb77b4d5364b4294210ad5ca96bad1b67dba"
 
 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
 PR_append = "+gitr${SRCREV}"
@@ -19,11 +19,17 @@ SRC_URI = "git://arago-project.org/git/people/sriram/ti-psp-omap.git;protocol=gi
            file://dss2/0016-video-add-timings-for-hd720.patch;patch=1 \
            file://holes.patch;patch=1 \
            file://no-mmc-spew.patch;patch=1 \
+           file://fix-usbgadgets.diff;patch=1 \
            file://defconfig"
 
 SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \
 "
 
+addtask quiltfixup before do_patch after do_unpack
+do_quiltfixup() {
+       rm ${S}/.pc -rf
+}
+
 S = "${WORKDIR}/git"
 
 do_install_append() {
@@ -34,4 +40,3 @@ do_install_append() {
 PACKAGES =+ "omap-dss-doc"
 FILES_omap-dss-doc = "/boot/DSS"
 
-