summaryrefslogtreecommitdiff
path: root/drivers/media/media-request.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-05-21 11:54:28 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-31 18:06:24 +0300
commitbe9d6d4b0bf9cc3644826fb95264dbddb9a6d047 (patch)
treef064a8189514f438514e118b6c22c1bcfd6aee56 /drivers/media/media-request.c
parent496f6f4d8a84421b70c4fb629656cb4730cbcd61 (diff)
downloadlinux-be9d6d4b0bf9cc3644826fb95264dbddb9a6d047.tar.xz
media: media-request: add media_request_get_by_fd
Add media_request_get_by_fd() to find a request based on the file descriptor. The caller has to call media_request_put() for the returned request since this function increments the refcount. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/media-request.c')
0 files changed, 0 insertions, 0 deletions