diff options
| author | Lubomir Rintel <[email protected]> | 2019-05-05 10:00:23 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-05-23 10:18:18 -0400 |
| commit | 0c7aa32966dab0b8a7424e1b34c7f206817953ec (patch) | |
| tree | 227c8d7b681b83670d2857051c0c814cc24ed800 /tools/perf/scripts/python | |
| parent | 1305d97b7c7847b12872818326f0cb4da0439311 (diff) | |
media: marvell-ccic: fix DMA s/g desc number calculation
The commit d790b7eda953 ("[media] vb2-dma-sg: move dma_(un)map_sg here")
left dma_desc_nent unset. It previously contained the number of DMA
descriptors as returned from dma_map_sg().
We can now (since the commit referred to above) obtain the same value from
the sg_table and drop dma_desc_nent altogether.
Tested on OLPC XO-1.75 machine. Doesn't affect the OLPC XO-1's Cafe
driver, since that one doesn't do DMA.
[[email protected]: fix a checkpatch warning]
Fixes: d790b7eda953 ("[media] vb2-dma-sg: move dma_(un)map_sg here")
Signed-off-by: Lubomir Rintel <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions