commit | be9d6d4b0bf9cc3644826fb95264dbddb9a6d047 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon May 21 04:54:28 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Fri Aug 31 11:06:24 2018 -0400 |
tree | f064a8189514f438514e118b6c22c1bcfd6aee56 | |
parent | 496f6f4d8a84421b70c4fb629656cb4730cbcd61 [diff] |
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>