Loading drivers/staging/android/ion/ion.c +3 −1 Original line number Diff line number Diff line Loading @@ -354,8 +354,10 @@ static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, map_attrs); } if (count <= 0) if (count <= 0) { mutex_unlock(&buffer->lock); return ERR_PTR(-ENOMEM); } a->dma_mapped = true; mutex_unlock(&buffer->lock); Loading drivers/staging/android/ion/msm/msm_ion_of.c +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ static struct ion_platform_data *msm_ion_parse_dt(struct platform_device *pdev) pr_err("Failed to create device %s\n", node->name); goto free_heaps; } of_dma_configure(&new_dev->dev, node); of_dma_configure(&new_dev->dev, node, true); pdata->heaps[idx].priv = &new_dev->dev; val = of_get_address(node, 0, NULL, NULL); Loading Loading
drivers/staging/android/ion/ion.c +3 −1 Original line number Diff line number Diff line Loading @@ -354,8 +354,10 @@ static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, map_attrs); } if (count <= 0) if (count <= 0) { mutex_unlock(&buffer->lock); return ERR_PTR(-ENOMEM); } a->dma_mapped = true; mutex_unlock(&buffer->lock); Loading
drivers/staging/android/ion/msm/msm_ion_of.c +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ static struct ion_platform_data *msm_ion_parse_dt(struct platform_device *pdev) pr_err("Failed to create device %s\n", node->name); goto free_heaps; } of_dma_configure(&new_dev->dev, node); of_dma_configure(&new_dev->dev, node, true); pdata->heaps[idx].priv = &new_dev->dev; val = of_get_address(node, 0, NULL, NULL); Loading