diff options
| author | Peter Korsgaard <[email protected]> | 2024-01-05 11:59:56 +0100 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-01-22 17:00:12 +0530 |
| commit | 8fcc3f7dbdaeff3c3be47a15d1acd7863dfee92d (patch) | |
| tree | 461fd8388369dda357ef5698ba46fbbe75fed549 /drivers/usb/cdns3/cdns3-trace.h | |
| parent | 33b7db45533af240fe44e809f9dc4d604cf82d07 (diff) | |
dmaengine: xilinx_dma: check for invalid vdma interleaved parameters
The VDMA HSIZE register (corresponding to sgl[0].size) is only 16bit wide /
the VSIZE register (corresponding to numf) is only 13bit wide, so reject
requests not fitting within that rather than silently transferring too
little data.
Signed-off-by: Peter Korsgaard <[email protected]>
Reviewed-by: Radhey Shyam Pandey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions