diff options
-rw-r--r-- | drivers/video/tegra/nvmap/nvmap_handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/nvmap/nvmap_handle.c b/drivers/video/tegra/nvmap/nvmap_handle.c index 0cdac926f041..05046ed8ba79 100644 --- a/drivers/video/tegra/nvmap/nvmap_handle.c +++ b/drivers/video/tegra/nvmap/nvmap_handle.c @@ -748,7 +748,7 @@ int nvmap_alloc_handle_id(struct nvmap_client *client, #ifndef CONFIG_TEGRA_IOVMM /* convert iovmm requests to generic carveout. */ if (heap_mask & NVMAP_HEAP_IOVMM) { - heap_mask = heap_mask & ~NVMAP_HEAP_IOVMM | + heap_mask = (heap_mask & ~NVMAP_HEAP_IOVMM) | NVMAP_HEAP_CARVEOUT_GENERIC; } #endif |