Skip to content
Commit b97a3677 authored by Andrew Featherstone's avatar Andrew Featherstone Committed by Benjamin Cabé
Browse files

drivers: dma: rpi_pico: Correct handling of NULL filter_param



From the API documentation, `dma_api_chan_filter`` can be given a value
of NULL for `filter_param`. Match the behaviour of most implementations,
and return true. This removes misleading error messages logged during
tests (e.g. `test_tst_dma0_m2m_loop`).

Signed-off-by: default avatarAndrew Featherstone <andrew.featherstone@gmail.com>
parent 92256f4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment