projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb1122
)
rk: ion: allow the cacheable buffer to map iommu
author
CMY
<cmy@rock-chips.com>
Fri, 27 Feb 2015 09:59:00 +0000
(17:59 +0800)
committer
CMY
<cmy@rock-chips.com>
Fri, 27 Feb 2015 09:59:29 +0000
(17:59 +0800)
Signed-off-by: CMY <cmy@rock-chips.com>
drivers/staging/android/ion/ion.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ion/ion.c
b/drivers/staging/android/ion/ion.c
index 3a97ad0367bbf9a9cfef87ca63bfcd441df5c9f7..0271c19ced2c15aafaab27b3d234d9990efdb7ac 100755
(executable)
--- a/
drivers/staging/android/ion/ion.c
+++ b/
drivers/staging/android/ion/ion.c
@@
-811,12
+811,6
@@
int ion_map_iommu(struct device *iommu_dev, struct ion_client *client,
mutex_lock(&buffer->lock);
- if (ion_buffer_cached(buffer)) {
- pr_err("%s: Cannot map iommu as cached.\n", __func__);
- ret = -EINVAL;
- goto out;
- }
-
if (!handle->buffer->heap->ops->map_iommu) {
pr_err("%s: map_iommu is not implemented by this heap.\n",
__func__);