drivers: dma: return einval if specified channel not found
chan_filter is used when a specified channel is required
so a specified channel needs to be returned,
otherwise it should return einval instead of the last channel tried
Signed-off-by:
Adrian Bonislawski <adrian.bonislawski@intel.com>
Loading
Please sign in to comment