Loading drivers/staging/android/ion/ion.c +3 −1 Original line number Diff line number Diff line Loading @@ -364,8 +364,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 Loading
drivers/staging/android/ion/ion.c +3 −1 Original line number Diff line number Diff line Loading @@ -364,8 +364,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