aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/u_ether.c
diff options
context:
space:
mode:
authorArtur Petrosyan <Arthur.Petrosyan@synopsys.com>2018-05-05 09:46:26 -0400
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-05-15 10:17:09 +0300
commitc7c24e7a047652c558e7aa4b0f54aae3a61aacc4 (patch)
treebd29fa8e4aed3d5bccb4c5eb4c71fff2ba7dacf2 /drivers/usb/gadget/function/u_ether.c
parentusb: dwc2: debugfs: Don't touch RX FIFO during register dump (diff)
downloadlinux-dev-c7c24e7a047652c558e7aa4b0f54aae3a61aacc4.tar.xz
linux-dev-c7c24e7a047652c558e7aa4b0f54aae3a61aacc4.zip
usb: dwc2: Change reading of current frame number flow.
The current frame_number is read from core for both device and host modes. Reading of the current frame number needs to be performed ASAP due to IRQ latency's. This is why, it is moved to common interrupt handler. Accordingly updated dwc2_gadget_target_frame_elapsed() function which uses stored frame_number instead of reading frame number. In cases when target frame value is incremented the frame_number is required to read again. Signed-off-by: Artur Petrosyan <arturp@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/function/u_ether.c')
0 files changed, 0 insertions, 0 deletions