commit | 52a9d179109c50b1a5077cc2a653295fa131f0d0 | [log] [tgz] |
---|---|---|
author | Chanho Park <chanho61.park@samsung.com> | Fri Aug 09 20:11:33 2013 +0900 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Aug 13 17:39:45 2013 +0530 |
tree | b439173b06832025c8ee80471c90e0832336f359 | |
parent | 2a76689bcaecf35391e6ddc8a00c09c79d6d5857 [diff] |
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: Chanho Park <chanho61.park@samsung.com> Acked-by : Jassi Brar <jassisinghbrar@gmail.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>