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)
commit03af500f743f486648fc8afc38593e9844411945
tree9fe2cf8cf09d9bdfb1ee6df9fa30c693507496d2
parentfa6a940bf129c5417b602a4cdfe88b3dbd8e5898
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