]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: Add frame length adjustment quirk
authorNikhil Badola <nikhil.badola@freescale.com>
Fri, 4 Sep 2015 04:45:58 +0000 (10:15 +0530)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commitdb213a28b6f4845dd627c2bde4fb4bd218f77c06
tree432c121be730e9333f10efcd857afaf2a986c7f0
parent11f9b288073f79f99dd49d341688a81d400c0b52
usb: dwc3: Add frame length adjustment quirk

Add adjust_frame_length_quirk for writing to fladj register
which adjusts (micro)frame length to value provided by
"snps,quirk-frame-length-adjustment" property thus avoiding
USB 2.0 devices to time-out over a longer run

Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/platform_data.h