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

tests: test_dma_loop: Release DMA channels upon use



Release DMA channels allocated through dma_request_channel with
dma_release_channel in test_loop, test_loop_suspend_resume and
test_loop_repeated_start_stop.

This prevents channel allocation leaks and enables the tests to still
run even if the utilised DMA driver is configured to only utilise a
subset of implemented DMA channels.

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