summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/net2280.h
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2014-11-28 16:50:57 +0300
committerFelipe Balbi <balbi@ti.com>2015-01-12 21:13:28 +0300
commit5517525e05b5d21c26e2b729a7e977f7d69714af (patch)
tree8e582bef304a745a8bad79c6241a0ef0870f7fcb /drivers/usb/gadget/udc/net2280.h
parent485f44d06b352a788d07e79a5744cc7420adc1e4 (diff)
downloadlinux-5517525e05b5d21c26e2b729a7e977f7d69714af.tar.xz
usb: gadget: udc: net2280: Improve patching of defect 7374
Once the defect 7374 is patched, there is no reason the keep reading the idx scratch register. Cache the content of the scratch idx register on device flag. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/udc/net2280.h')
-rw-r--r--drivers/usb/gadget/udc/net2280.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/net2280.h b/drivers/usb/gadget/udc/net2280.h
index a16494af72a2..c7c79812041e 100644
--- a/drivers/usb/gadget/udc/net2280.h
+++ b/drivers/usb/gadget/udc/net2280.h
@@ -165,7 +165,8 @@ struct net2280 {
ltm_enable:1,
wakeup_enable:1,
selfpowered:1,
- addressed_state:1;
+ addressed_state:1,
+ bug7734_patched:1;
u16 chiprev;
int enhanced_mode;
int n_ep;