]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: dwc3: Add frame length adjustment quirk
authorMichael Walle <michael@walle.cc>
Fri, 15 Oct 2021 13:15:21 +0000 (15:15 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
commitd274cbbc1cef8909d47b3f797fef3667bc170620
tree69095e884b667cd388bf4f11c6f82eb15938e1b9
parent7f79a2c2357d16fc9dd08e761e931a4f2169d625
usb: dwc3: Add frame length adjustment quirk

[backport from linux commit db2be4e9e30c6e43e48c5749d3fc74cee0a6bbb3]

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: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h