Files
android_kernel_xiaomi_sm8450/drivers/usb/cdns3
Peter Chen 24fdaeeb29 usb: cdns3: gadget: clear trb->length as zero after preparing every trb
It clears trb->length as zero before preparing td, but if scatter
buffer is used for td, there are several trbs within td, it needs to clear
every trb->length as zero, otherwise, the default value for trb->length
may not be zero after it begins to use the second round of trb rings.

Fixes: abc6b57904 ("usb: cdns3: gadget: using correct sg operations")
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-11-30 13:48:32 +08:00
..
2020-10-02 09:57:38 +03:00
2020-01-15 10:39:22 +01:00
2020-01-15 10:39:22 +01:00