Re: [PATCH v3 9/9] dmaengine: Drop legacy bus width fields from dma_slave_caps

From
Andy Shevchenko <hidden>
Date
2026-08-31 13:49:21
Also in
dmaengine, linux-arm-msm, linux-iio, linux-sound, linux-spi, lkml
Reply to
Nuno Sá, 2026-08-31
On Mon, Aug 31, 2026 at 12:46:46PM +0100, Nuno Sá wrote:
All users of dma_get_slave_caps() that inspect bus width capabilities now
use the bitmap helpers.

Hence, remove the legacy u32 src_addr_widths and dst_addr_widths fields
from struct dma_slave_caps and stop copying the dma_device masks into
them.

Note the legacy u32 src_addr_widths and dst_addr_widths fields in struct
dma_device are kept for now as every DMA controller driver setting them
still has to be converted to the new helpers. dma_get_slave_caps() keeps
folding those masks into the bitmaps it returns so unconverted producers
continue to work during the transition.
Reviewed-by: Andy Shevchenko <redacted>

-- 
With Best Regards,
Andy Shevchenko


Thread (23 messages) 23 messages, 4 authors, last reply 2026-09-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help