Loading drivers/char/adsprpc.c +10 −7 Original line number Diff line number Diff line Loading @@ -727,6 +727,8 @@ static void fastrpc_mmap_free(struct fastrpc_mmap *map, uint32_t flags) if (!map) return; fl = map->fl; if (fl && !(map->flags == ADSP_MMAP_HEAP_ADDR || map->flags == ADSP_MMAP_REMOTE_HEAP_ADDR)) { cid = fl->cid; VERIFY(err, cid >= ADSP_DOMAIN_ID && cid < NUM_CHANNELS); if (err) { Loading @@ -735,6 +737,7 @@ static void fastrpc_mmap_free(struct fastrpc_mmap *map, uint32_t flags) __func__, cid, err); return; } } if (map->flags == ADSP_MMAP_HEAP_ADDR || map->flags == ADSP_MMAP_REMOTE_HEAP_ADDR) { spin_lock(&me->hlock); Loading Loading
drivers/char/adsprpc.c +10 −7 Original line number Diff line number Diff line Loading @@ -727,6 +727,8 @@ static void fastrpc_mmap_free(struct fastrpc_mmap *map, uint32_t flags) if (!map) return; fl = map->fl; if (fl && !(map->flags == ADSP_MMAP_HEAP_ADDR || map->flags == ADSP_MMAP_REMOTE_HEAP_ADDR)) { cid = fl->cid; VERIFY(err, cid >= ADSP_DOMAIN_ID && cid < NUM_CHANNELS); if (err) { Loading @@ -735,6 +737,7 @@ static void fastrpc_mmap_free(struct fastrpc_mmap *map, uint32_t flags) __func__, cid, err); return; } } if (map->flags == ADSP_MMAP_HEAP_ADDR || map->flags == ADSP_MMAP_REMOTE_HEAP_ADDR) { spin_lock(&me->hlock); Loading