linux/drivers/usb/dwc2
Artur Petrosyan c7c24e7a04 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>
2018-05-15 10:17:09 +03:00
..
core.c usb: dwc2: Make dwc2_force_mode() static 2018-03-13 10:47:58 +02:00
core.h usb: dwc2: Change reading of current frame number flow. 2018-05-15 10:17:09 +03:00
core_intr.c usb: dwc2: Change reading of current frame number flow. 2018-05-15 10:17:09 +03:00
debug.h USB: dwc2: Remove redundant license text 2017-11-07 15:45:01 +01:00
debugfs.c usb: dwc2: debugfs: Don't touch RX FIFO during register dump 2018-05-15 10:17:00 +03:00
gadget.c usb: dwc2: Change reading of current frame number flow. 2018-05-15 10:17:09 +03:00
hcd.c usb: dwc2: fix spelling mistake: "genereted" -> "generated" 2018-03-14 11:00:26 +02:00
hcd.h usb: dwc2: Delete unused functionality 2018-03-13 10:47:42 +02:00
hcd_ddma.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
hcd_intr.c usb: dwc2: host: Don't retry NAKed transactions right away 2017-12-13 11:27:53 +02:00
hcd_queue.c usb: dwc2: host: Don't retry NAKed transactions right away 2017-12-13 11:27:53 +02:00
hw.h usb: dwc2: Add Interpacket Gap(IPG) feature support 2018-05-15 10:16:47 +03:00
Kconfig usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW 2017-03-17 13:16:56 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
params.c usb: dwc2: Add Interpacket Gap(IPG) feature support 2018-05-15 10:16:47 +03:00
pci.c usb: dwc2: pci: Handle error cleanup in probe 2018-03-13 10:47:45 +02:00
platform.c usb: dwc2: Force mode optimizations 2018-03-13 10:47:58 +02:00