Skip to content
Commit 1c0ae3cc authored by Vit Stanicek's avatar Vit Stanicek Committed by Henrik Brix Andersen
Browse files

drivers: dma_mcux_lpc: Sanitise chan. data overrun



Add a num_of_allocated_channels field to struct dma_mcux_lpc_config. Add
a a capacity check for dma_X_channel_data_arr in dma_mcux_lpc_configure.

Signed-off-by: default avatarVit Stanicek <vit.stanicek@nxp.com>
parent 263911d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment