summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/m5mols
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2013-05-21 08:11:35 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-29 16:12:43 (GMT)
commitea3aba8482be6f3e4815f4014fa7302fc77c9c3f (patch)
tree452730ad3c76a2041ffc8935a3fd18aa60f09906 /drivers/media/i2c/m5mols
parentd8eec74a229f4e3448bfdff9ff3cd3f61bb1e63d (diff)
downloadlinux-ea3aba8482be6f3e4815f4014fa7302fc77c9c3f.tar.xz
[media] videobuf2: Add support for file access mode flags for DMABUF exporting
Currently it is not possible for userspace to map a DMABUF exported buffer with write permissions. This patch allows to also pass O_RDONLY/O_RDWR when exporting the buffer, so that userspace may map it with write permissions. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/m5mols')
0 files changed, 0 insertions, 0 deletions