diff options
author | Zhijun He <zhhe@nvidia.com> | 2010-10-11 21:12:10 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2010-10-13 14:57:08 -0700 |
commit | 6afcd42bf2fc9e7dc3cad566865238cd71843420 (patch) | |
tree | 60c8f55d334c18b101a00f445c8dd79b3888ec9b /drivers | |
parent | 0120a5b05699269c4ce6669ea1aa37b8ed2ed0f9 (diff) |
[ARM/Tegra] Fix commit f3824fd58e2654a0d8d3159cb1f776d3ad0169a2
Check for pgalloc is not required.
Bug 731923
Reviewed-on: http://git-master/r/7218
(cherry picked from commit 665dba4dd0617f763815bce96dec4a14f8a0c6f6)
Change-Id: I82e701555605f4322a95a66b75ffe3f3bce2a5a6
Reviewed-on: http://git-master.nvidia.com/r/8266
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/tegra/nvmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/nvmap.c b/drivers/video/tegra/nvmap.c index 29594e013a35..de8c40891280 100644 --- a/drivers/video/tegra/nvmap.c +++ b/drivers/video/tegra/nvmap.c @@ -1036,7 +1036,7 @@ void _nvmap_handle_free(struct nvmap_handle *h) } /* ensure that no stale data remains in the cache for this handle */ - if (h->alloc || h->pgalloc) + if (h->alloc) e = _nvmap_do_cache_maint(h, 0, h->size, NVMEM_CACHE_OP_WB_INV, false); |