summaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-omap-psp-2.6.32/fix-usbgadgets.diff
blob: 04309bf66c1ee21d03adb5a36c5f4c39a21cf2a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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�t 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