Tag: fdaf9c4b22247a6cc6cda9459be3e52764c14d95

dmaengine: Use dma_sg_len(sg) instead of sg->length

Author: Lars-Peter Clausen <lars@metafoo.de> sg->length may or may not contain the length of the dma region to transfer, depending on the architecture – dma_sg_len(sg) always will though. For the architectures which use the drivers modified by this patch it probably is the case that sg->length contains the dma transfer length. But to be consistent and …

Continue reading