diff options
| author | Maxime Vincent <[email protected]> | 2025-04-08 14:34:11 +0200 |
|---|---|---|
| committer | Maxime Vincent <[email protected]> | 2025-04-08 14:34:21 +0200 |
| commit | 6607b76c761a3a64a7c43ceba27ae42cdb368e52 (patch) | |
| tree | 2dedfba62652d1d402694cb6d39dace0bbfb7488 /src | |
| parent | 7d8433abab25734981f1b5eab3c5724a945df711 (diff) | |
dwc2/host: remove hcd_event_device_remove() call from handle_hptr_irq to prevent double removal
Signed-off-by: Maxime Vincent <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/synopsys/dwc2/hcd_dwc2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/portable/synopsys/dwc2/hcd_dwc2.c b/src/portable/synopsys/dwc2/hcd_dwc2.c index 4c3d23b65..4aa42759f 100644 --- a/src/portable/synopsys/dwc2/hcd_dwc2.c +++ b/src/portable/synopsys/dwc2/hcd_dwc2.c @@ -1266,8 +1266,6 @@ static void handle_hprt_irq(uint8_t rhport, bool in_isr) { if (hprt_bm.conn_status) { hcd_event_device_attach(rhport, in_isr); - } else { - hcd_event_device_remove(rhport, in_isr); } } |
