summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorWu, Xia <xia.wu@intel.com>2015-12-09 10:26:26 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-01 12:32:40 +0300
commit9637b03251dea31d99c0742932b9fcbfa015e5f0 (patch)
tree76a165f150469d49977744372badcea728d1706f /drivers/media/i2c
parentf691ba9864ad0ed1bd67ad27ed95ed2dce6e15e2 (diff)
downloadlinux-9637b03251dea31d99c0742932b9fcbfa015e5f0.tar.xz
[media] media: videobuf2-core: Fix one __qbuf_dmabuf() error path
Add dma_buf_put() to decrease refcount of the dmabuf in error path if DMABUF size is smaller than the requirement. Signed-off-by: wu xia <xia.wu@intel.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions