diff options
author | Christophe Kerello <[email protected]> | 2024-02-19 15:05:04 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2024-02-26 11:36:24 +0100 |
commit | a9ae475cc60d908dfd232d1c064fc34ec51d3228 (patch) | |
tree | be0b0738895e18698c82a4559b34f85cb2286f9a /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c1e04ab409aa0df2f554d7b318d82e8730ac4fa6 (diff) |
mtd: rawnand: stm32_fmc2: use dma_get_slave_caps to get DMA max burst
Use dma_get_slave_caps API to get the max burst size of a DMA channel.
For MP1 SoCs, MDMA is used and the max burst size is 128.
For MP25 SoC, DMA3 is used and the max burst size is 64.
Signed-off-by: Christophe Kerello <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions