diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-05-21 10:11:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-09 17:50:50 +0100 |
commit | c1b96a236e94d49d9396d0bbceb5524519c5c66e (patch) | |
tree | a65634750514493440bdea83364001f3a48c9b7f /drivers/media/platform/vivi.c | |
parent | [media] radio-shark2: Mark shark_resume_leds() inline to kill compiler warning (diff) | |
download | linux-c1b96a236e94d49d9396d0bbceb5524519c5c66e.tar.xz linux-c1b96a236e94d49d9396d0bbceb5524519c5c66e.zip |
[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/platform/vivi.c')
0 files changed, 0 insertions, 0 deletions