mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
fsl_dma_update_completed_cookie() appears to calculate the last completed cookie incorrectly in the corner case where DMA on cookie 1 is in progress just following a cookie wrap. Signed-off-by: Steven J. Magnani <[email protected]> Acked-by: Ira W. Snyder <[email protected]> [[email protected]: fix an integer overflow warning with INT_MAX] Signed-off-by: Dan Williams <[email protected]>