[v2,0/2] Fix two bugs in the DMA status path

Message ID 20260814142708.79120-1-christian.lugnberg@soundtrack.io (mailing list archive)
Headers
Series Fix two bugs in the DMA status path |

Message

Christian Lugnberg Aug. 14, 2026, 2:21 p.m. UTC
Thank you for the review. Patch 2 has been updated with a corrected
commit message — the original overclaimed an oops; the fix removes
undefined behaviour but no memory access actually occurs at that point.
Changes in v2:
  - Patch 2: correct commit message to accurately describe the undefined
    behaviour rather than claiming an imminent null pointer dereference

Christian Lugnberg (2):
  dmaengine: sun6i: fix non-atomic read of DMA position registers
  dmaengine: sun6i: fix undefined behaviour in sun6i_dma_tx_status

 drivers/dma/sun6i-dma.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)