summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/imx/imx6-mipi-csi2.c
diff options
context:
space:
mode:
authorSteve Longerbeam <slongerbeam@gmail.com>2019-05-10 17:50:06 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-28 14:09:02 -0400
commit34ff38745b166f317530c05ac881aafc20c33041 (patch)
tree1ab2bf03a1de6070730bf6d2cced6c2fe230981a /drivers/staging/media/imx/imx6-mipi-csi2.c
parent6d01b7ff523375e22db5d2c37a18bdf332376b2f (diff)
downloadlinux-stable-34ff38745b166f317530c05ac881aafc20c33041.tar.gz
linux-stable-34ff38745b166f317530c05ac881aafc20c33041.tar.bz2
linux-stable-34ff38745b166f317530c05ac881aafc20c33041.zip
media: staging/imx: Pass device to alloc/free_dma_buf
Allocate and free a DMA coherent buffer in imx_media_alloc/free_dma_buf() from the given device. This allows DMA alloc and free using a device that is backed by real hardware, which for the imx5/6/7 CSI is the CSI unit, and for the internal IPU sub-devices, is the parent IPU. Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx/imx6-mipi-csi2.c')
0 files changed, 0 insertions, 0 deletions