Merge "msm: ADSPRPC: Use secure session device while freeing memory"
This commit is contained in:
commit
a1029ef3e5
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ static void fastrpc_mmap_free(struct fastrpc_mmap *map)
|
||||||
ion_free(fl->apps->client, map->handle);
|
ion_free(fl->apps->client, map->handle);
|
||||||
if (sess->smmu.enabled) {
|
if (sess->smmu.enabled) {
|
||||||
if (map->size || map->phys)
|
if (map->size || map->phys)
|
||||||
msm_dma_unmap_sg(fl->sctx->dev,
|
msm_dma_unmap_sg(sess->dev,
|
||||||
map->table->sgl,
|
map->table->sgl,
|
||||||
map->table->nents, DMA_BIDIRECTIONAL,
|
map->table->nents, DMA_BIDIRECTIONAL,
|
||||||
map->buf);
|
map->buf);
|
||||||
|
|
Loading…
Add table
Reference in a new issue