diff options
author | Greg Kroah-Hartman | 2013-01-26 06:25:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-01-26 06:25:02 +0100 |
commit | 8f5f90a872c38b4e78f3cc95e8a25434b98e4db2 (patch) | |
tree | 36c50b0c97286ab89c85016f7ab281f8e843c05c /drivers/staging/omapdrm | |
parent | staging: comedi: addi_watchdog: all i/o registers are 32-bit (diff) | |
parent | Linux 3.8-rc5 (diff) | |
download | kernel-qcow2-linux-8f5f90a872c38b4e78f3cc95e8a25434b98e4db2.tar.gz kernel-qcow2-linux-8f5f90a872c38b4e78f3cc95e8a25434b98e4db2.tar.xz kernel-qcow2-linux-8f5f90a872c38b4e78f3cc95e8a25434b98e4db2.zip |
Merge 3.8-rc5 into staging-next
This resolves a merge issue with a iio driver, and the zram code.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omapdrm')
-rw-r--r-- | drivers/staging/omapdrm/omap_gem_dmabuf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/omapdrm/omap_gem_dmabuf.c b/drivers/staging/omapdrm/omap_gem_dmabuf.c index 27780b8bf155..a3236abfca3d 100644 --- a/drivers/staging/omapdrm/omap_gem_dmabuf.c +++ b/drivers/staging/omapdrm/omap_gem_dmabuf.c @@ -207,7 +207,12 @@ struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev, obj = buffer->priv; /* is it from our device? */ if (obj->dev == dev) { + /* + * Importing dmabuf exported from out own gem increases + * refcount on gem itself instead of f_count of dmabuf. + */ drm_gem_object_reference(obj); + dma_buf_put(buffer); return obj; } } |