diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2014-11-28 14:50:57 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 19:13:28 +0100 |
commit | 5517525e05b5d21c26e2b729a7e977f7d69714af (patch) | |
tree | 8e582bef304a745a8bad79c6241a0ef0870f7fcb /drivers/usb/gadget/udc/net2280.h | |
parent | usb: gadget: udc: net2280: Clean function net2280_queue (diff) | |
download | linux-5517525e05b5d21c26e2b729a7e977f7d69714af.tar.xz linux-5517525e05b5d21c26e2b729a7e977f7d69714af.zip |
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.h | 3 |
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; |