Re: xhci data toggle out of sync

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Mon, 18 Apr 2022 19:47:03 UTC
Hi,

I think I see what is going on there. I believe this commit is a 
regression after r365239, that the XHCI driver only resets the data 
toggle when a STALL PID or USB error is received! But that is not the 
case for the BULK OUT endpoint, in your traces, because USB mass storage 
has two endpoints.

https://svnweb.freebsd.org/changeset/base/365239

Can you try the attached patch instead of reverting that commit and see 
if the XHCI now sends a DATA0, as expected?

Bjoern and Kristof, can you also test this patch?

--HPS