• Federico Vaga's avatar
    sw:drv: DMA bugfix · c235529f
    Federico Vaga authored
    The kernel API sg_alloc_table_from_pages() takes a start offset. The
    problem is that we may use vmalloc() which have a start offset, but it
    could have an offset on each page. Not considering this offset leads
    to DMA transfers which are partially performed on the wrong buffer
    Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
    c235529f
ft-buf.c 17.1 KB