Skip to content
Commit 52a9d179 authored by Chanho Park's avatar Chanho Park Committed by Vinod Koul
Browse files

dma: pl330: split off common code to give back descriptors



This patch adds __pl330_giveback_descs which give back descriptors when fails
allocating descriptors. It requires to eliminate duplication for
pl330_prep_dma_sg which will be added later.

Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
Acked-by : Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 2a76689b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment