Repository navigation
Commit d2cda57
rp2/rp2_dma: Disable DMA IRQ before clearing handler function.
Both the overall IRQ line and the per-channel IRQ, for good measure.
Otherwise, soft reset will remove the handler before the finaliser for the
DMA object(s) run and trigger IRQs if the channel is still active.
Closes micropython#18765
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <[email protected]>1 parent 06dbc1f commit d2cda57
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
| |||
441 | 444 | | |
442 | 445 | | |
443 | 446 | | |
444 | | - | |
445 | 447 | | |
446 | 448 | | |
447 | 449 | | |
| |||
479 | 481 | | |
480 | 482 | | |
481 | 483 | | |
482 | | - | |
| 484 | + | |
| 485 | + | |
483 | 486 | | |
484 | 487 | | |
485 | 488 | | |
| |||
0 commit comments