forked from luck/tmp_suning_uos_patched
Merge branch fixes of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/dmaengine.git
This commit is contained in:
commit
a5044cddad
@ -599,7 +599,7 @@ static int dmatest_add_channel(struct dma_chan *chan)
|
||||
}
|
||||
if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) {
|
||||
cnt = dmatest_add_threads(dtc, DMA_PQ);
|
||||
thread_count += cnt > 0 ?: 0;
|
||||
thread_count += cnt > 0 ? cnt : 0;
|
||||
}
|
||||
|
||||
pr_info("dmatest: Started %u threads using %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user