3d2d5c7400
commit 84c65d8008764a8fb4e627ff02de01ec4245f2c4 upstream.
If dma_get_slave_caps() fails, we need to release the dma channel before
returning an error to avoid leaking the channel.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
industrialio-buffer-cb.c | ||
industrialio-buffer-dma.c | ||
industrialio-buffer-dmaengine.c | ||
industrialio-hw-consumer.c | ||
industrialio-triggered-buffer.c | ||
kfifo_buf.c |