summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-03-05 21:47:41 +0700
committerGitHub <[email protected]>2026-03-05 21:47:41 +0700
commit97476872aa841fcd9cd622e4082d6c57b183c67f (patch)
tree232aca150cd4c890457b363bfcbfba9ff9a656cd /src/host
parentae3864d21f2b206ae41d1d424b96fea0ac7e0dc6 (diff)
parent75a5bedf357342762688a3fecc90739f58bbff0e (diff)
Merge pull request #3378 from hathach/dwc2_deinit
Add DWC2 deinit support
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 20791340e..33d74862f 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -571,7 +571,7 @@ bool tuh_deinit(uint8_t rhport) {
// deinit host controller
hcd_int_disable(rhport);
- hcd_deinit(rhport);
+ TU_ASSERT(hcd_deinit(rhport));
_usbh_data.controller_id = TUSB_INDEX_INVALID_8;
// remove all devices on this rhport (hub_addr = 0, hub_port = 0)