We don't want interrupts when the source is done, only when
the destination is done and everything is complete at the
recieveing end of a transfer.
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
0,
d40c->log_def.lcsp1,
d40c->dma_cfg.src_info.data_width,
0,
d40c->log_def.lcsp1,
d40c->dma_cfg.src_info.data_width,
d40_log_fill_lli(d40d->lli_log.dst,
dst,
d40_log_fill_lli(d40d->lli_log.dst,
dst,
int total_size = 0;
struct scatterlist *current_sg = sg;
int i;
int total_size = 0;
struct scatterlist *current_sg = sg;
int i;
- u32 next_lli_off_dst;
- u32 next_lli_off_src;
-
- next_lli_off_src = 0;
- next_lli_off_dst = 0;
+ u32 next_lli_off_dst = 0;
+ u32 next_lli_off_src = 0;
for_each_sg(sg, current_sg, sg_len, i) {
total_size += sg_dma_len(current_sg);
for_each_sg(sg, current_sg, sg_len, i) {
total_size += sg_dma_len(current_sg);
sg_dma_len(current_sg),
next_lli_off_src,
lcsp->lcsp1, src_data_width,
sg_dma_len(current_sg),
next_lli_off_src,
lcsp->lcsp1, src_data_width,
- term_int && !next_lli_off_src,
true);
d40_log_fill_lli(&lli->dst[i],
dev_addr,
true);
d40_log_fill_lli(&lli->dst[i],
dev_addr,
sg_dma_len(current_sg),
next_lli_off_src,
lcsp->lcsp1, src_data_width,
sg_dma_len(current_sg),
next_lli_off_src,
lcsp->lcsp1, src_data_width,
- term_int && !next_lli_off_src,