]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xhci(4): Only drop BULK and INTERRUPT endpoints to reset data toggle.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 3 May 2022 16:09:17 +0000 (18:09 +0200)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 4 May 2022 07:20:46 +0000 (09:20 +0200)
commit340ed8ccb576e74e0cc8e5f1e8e3bbabbe53f090
tree6af389f35830b49564d70f07dd8d6ec1322e54a7
parent2b3d81ba7dfea48c4a76d526027d0907eaf19dae
xhci(4): Only drop BULK and INTERRUPT endpoints to reset data toggle.

Only drop BULK and INTERRUPT endpoints, to reset the data toggle,
because for other endpoint types this is not critical.

While at it fix some whitespace.

Tested by: ehaupt@
PR: 262882
Approved by: re (gjb, early MFC)
Sponsored by: NVIDIA Networking

(cherry picked from commit e276d281503160ba3648bd394cde95736ee53329)
(cherry picked from commit 610528736f3f0bf51f990dd93c5061a7a437e519)
sys/dev/usb/controller/xhci.c