|
@@ -174,7 +174,7 @@ static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg,
|
|
"(TO_DEVICE)", __func__);
|
|
"(TO_DEVICE)", __func__);
|
|
desc = channel->device->device_prep_slave_sg(channel,
|
|
desc = channel->device->device_prep_slave_sg(channel,
|
|
ctx->device->dma.sg, ctx->device->dma.sg_len,
|
|
ctx->device->dma.sg, ctx->device->dma.sg_len,
|
|
- direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT);
|
|
|
|
|
|
+ direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT, NULL);
|
|
if (!desc) {
|
|
if (!desc) {
|
|
dev_err(ctx->device->dev,
|
|
dev_err(ctx->device->dev,
|
|
"[%s]: device_prep_slave_sg() failed!", __func__);
|
|
"[%s]: device_prep_slave_sg() failed!", __func__);
|