summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRob Clark <rob.clark@linaro.org>2012-12-20 18:30:03 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-08 00:27:03 +0400
commit412fc87093df7d40d187f6f167524221ae8080b2 (patch)
tree91c7a98048ad5d1e42d2ccde0c475dbc7a8fb9fd /drivers
parentf5f9454c2145fa018c9808597739abce67114ac7 (diff)
downloadlinux-412fc87093df7d40d187f6f167524221ae8080b2.tar.xz
staging: drm/omap: fix flags in dma buf exporting
This patch fixes flags passed to dma buf exporting. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/omapdrm/omap_gem_dmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/omapdrm/omap_gem_dmabuf.c b/drivers/staging/omapdrm/omap_gem_dmabuf.c
index 9a302062b031..eabb8b57f6c3 100644
--- a/drivers/staging/omapdrm/omap_gem_dmabuf.c
+++ b/drivers/staging/omapdrm/omap_gem_dmabuf.c
@@ -194,7 +194,7 @@ struct dma_buf_ops omap_dmabuf_ops = {
struct dma_buf *omap_gem_prime_export(struct drm_device *dev,
struct drm_gem_object *obj, int flags)
{
- return dma_buf_export(obj, &omap_dmabuf_ops, obj->size, 0600);
+ return dma_buf_export(obj, &omap_dmabuf_ops, obj->size, flags);
}
struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev,