aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2012-05-16 22:51:24 -0500
committerTyler Luu <tluu@ti.com>2012-05-24 17:40:10 -0500
commitf124cf89eeb756eb6e47b0a736d63095f8c48aed (patch)
treede6294c4e77c03df371a3a37658f531bc719f81c /drivers/rpmsg
parentcd394918b08a4ee19e2e1394c4e34425d49d19b1 (diff)
downloadkernel_samsung_espresso10-f124cf89eeb756eb6e47b0a736d63095f8c48aed.zip
kernel_samsung_espresso10-f124cf89eeb756eb6e47b0a736d63095f8c48aed.tar.gz
kernel_samsung_espresso10-f124cf89eeb756eb6e47b0a736d63095f8c48aed.tar.bz2
rpmsg: omx: add ion system heap to omx ion client
Allow the rpmsg omx ion client to access buffers from the ion system heap. Change-Id: Ic2d6922cb5cb05ec96f807a36b77c124769f4ef2 Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: David Schleef <ds@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/rpmsg_omx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rpmsg/rpmsg_omx.c b/drivers/rpmsg/rpmsg_omx.c
index d0d8f47..d83fdf2 100644
--- a/drivers/rpmsg/rpmsg_omx.c
+++ b/drivers/rpmsg/rpmsg_omx.c
@@ -468,7 +468,8 @@ static int rpmsg_omx_open(struct inode *inode, struct file *filp)
#ifdef CONFIG_ION_OMAP
omx->ion_client = ion_client_create(omap_ion_device,
(1 << ION_HEAP_TYPE_CARVEOUT) |
- (1 << OMAP_ION_HEAP_TYPE_TILER),
+ (1 << OMAP_ION_HEAP_TYPE_TILER) |
+ (1 << ION_HEAP_TYPE_SYSTEM),
"rpmsg-omx");
#endif