This patch series addresses two issues in the max3421 USB host controller driver:
1. **Patch 1** This patch reverts the removal of the slow retransmit of NAK responses. This fixes some USB accessories from becoming unresponsive.
2. **Patch 2** fixes a "scheduling while atomic" bug in `max3421_remove()` by ensuring that `kthread_stop()` is called outside a spinlock, preventing a system crash when removing the driver or shutting down.
Both patches have been tested on a BCM2711 with MAX3421 hardware.
Kind regards,
Matt Lee
matt@xxxxxxxxxx
---
**Patches:**
**[PATCH 1/2] USB: max3421: Fix retransmit handling for NAK responses**
**[PATCH 2/2] USB: max3421: Fix scheduling while atomic in max3421_remove()**
1. **Patch 1** This patch reverts the removal of the slow retransmit of NAK responses. This fixes some USB accessories from becoming unresponsive.
2. **Patch 2** fixes a "scheduling while atomic" bug in `max3421_remove()` by ensuring that `kthread_stop()` is called outside a spinlock, preventing a system crash when removing the driver or shutting down.
Both patches have been tested on a BCM2711 with MAX3421 hardware.
Kind regards,
Matt Lee
matt@xxxxxxxxxx
---
**Patches:**
**[PATCH 1/2] USB: max3421: Fix retransmit handling for NAK responses**
**[PATCH 2/2] USB: max3421: Fix scheduling while atomic in max3421_remove()**
Attachment:
0001-USB-max3421-Fix-retransmit-handling.patch
Description: Binary data
Attachment:
0002-USB-max3421-Fix-scheduling-while-atomic.patch
Description: Binary data