[PATCH v2 4/5] dmaengine: arm-dma350: Honour dma-channel-mask

Jelly Jia Jelly.Jia at cixtech.com
Thu Nov 5 00:41:50 PST 2026


Hi Frank,

> max nchan is 8 (in your cover letter), why need check i >= 8 here?

The i >= 32 check was intended to guard the single-u32 mask and avoid
out-of-range shifts on 32-bit builds. However, DMA-350 supports at most
eight channels, so the check is unnecessary. I've removed it locally
and will include the change in the next revision.

Best regards,
Jelly



More information about the linux-arm-kernel mailing list