Loading drivers/staging/android/ion/ion.c +2 −2 Original line number Diff line number Diff line Loading @@ -365,8 +365,8 @@ static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, table = a->table; if (!dma_map_sg(attachment->dev, table->sgl, table->nents, direction)){ if (!dma_map_sg_attrs(attachment->dev, table->sgl, table->nents, direction, attachment->dma_map_attrs)){ ret = -ENOMEM; goto err; } Loading include/linux/dma-buf.h +1 −0 Original line number Diff line number Diff line Loading @@ -326,6 +326,7 @@ struct dma_buf_attachment { struct device *dev; struct list_head node; void *priv; unsigned long dma_map_attrs; }; /** Loading Loading
drivers/staging/android/ion/ion.c +2 −2 Original line number Diff line number Diff line Loading @@ -365,8 +365,8 @@ static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, table = a->table; if (!dma_map_sg(attachment->dev, table->sgl, table->nents, direction)){ if (!dma_map_sg_attrs(attachment->dev, table->sgl, table->nents, direction, attachment->dma_map_attrs)){ ret = -ENOMEM; goto err; } Loading
include/linux/dma-buf.h +1 −0 Original line number Diff line number Diff line Loading @@ -326,6 +326,7 @@ struct dma_buf_attachment { struct device *dev; struct list_head node; void *priv; unsigned long dma_map_attrs; }; /** Loading