]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: udc: net2280: Improve patching of defect 7374
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Fri, 28 Nov 2014 13:50:57 +0000 (14:50 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:28 +0000 (12:13 -0600)
commit38f1b8135e281e492027bc45db7121376b57e640
tree8e582bef304a745a8bad79c6241a0ef0870f7fcb
parentb5030ebc529733ebacd394ae9eb1b80ed928ed16
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>
drivers/usb/gadget/udc/net2280.c
drivers/usb/gadget/udc/net2280.h