mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
While the descriptor ID is stored in a 32-bit field in the hardware descriptor, only 16 bits are used by the hardware and are reported through the XILINX_DPDMA_CH_DESC_ID register. Failure to handle the wrap-around results in a descriptor ID mismatch after 65536 frames. Fix it. Signed-off-by: Laurent Pinchart <[email protected]> Tested-by: Jianqiang Chen <[email protected]> Reviewed-by: Jianqiang Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>