Hi, John On Thu, Feb 4, 2016 at 8:25 PM, Vahram Aharonyan <vahram.aharon...@synopsys.com> wrote: > On 2/3/2016 3:40 PM, Robert Baldyga wrote: > > Hi Robert, > > DTXFSTS register is linked with endpoint, not FIFO - it contains information > about how much space is used in the FIFO assigned to the endpoint. Changing > ep->index to ep->fifo_index will work, if FIFO number assigned to that > endpoint coincides with ep->index. For example, TX FIFO #1 has been assigned > to EP 1 In. If TX FIFO #2 was assigned to EP #1, then with this change > DTXFSTS[2] will be used instead of DTXFSTS[1] for EP #1. > > Thanks, > Vahram.
As mentioned by Vahram, DTXFSTS registers are indexed by endpoint number, instead of FIFO number. It should be reverted. -- 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