]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine/amba-pl08x: Add prep_single_byte_llis() routine
authorViresh Kumar <viresh.kumar@st.com>
Fri, 5 Aug 2011 10:02:39 +0000 (15:32 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 25 Aug 2011 14:03:39 +0000 (19:33 +0530)
commit1b86aab9f146dab8ab7884322097a84ccc310741
tree9fe2cf8cf09d9bdfb1ee6df9fa30c693507496d2
parent85d4d07dc23ee8b7dcc3270b7099c1793afd6f8b
dmaengine/amba-pl08x: Add prep_single_byte_llis() routine

Code for creating single byte llis is present at several places. Create a
routine to avoid code redundancy.

Also, we don't need one lli per single byte transfer, we can have single lli to
do all single byte transfer.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c