]> git.karo-electronics.de Git - karo-tx-linux.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)
commitdb2be4e9e30c6e43e48c5749d3fc74cee0a6bbb3
tree432c121be730e9333f10efcd857afaf2a986c7f0
parent3737c54418c35034127bf2837e9b27a3c3c67940
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