Hello,

According to DWC2 databook( 3.20a in my case), DTXFSTSn registers are
indexed by endpoint number. This can be verified by comparing "fifo" and
"regdump" in debugfs (as long as the configuration is not trivial).
Therefore, in my humble opinion, the commit ad674a1524 ("usb: dwc2: gadget:
use ep->fifo_index in context of FIFO registers") wrongly changes DTXFSTSn
indexation.

Best Regards,
Jimmy Perchet
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to