]> git.baikalelectronics.ru Git - kernel.git/commit
v4l: rcar-fcp: Add an API to retrieve the FCP device
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 16 May 2017 23:20:04 +0000 (02:20 +0300)
committerKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fri, 9 Jun 2017 11:25:36 +0000 (12:25 +0100)
commit5ad774fac4b67f4de61a858f01c98c3a80782779
treed68b079f0cdb70ead2ed51fe9491f490cae42d7c
parent7399950961a835f61210a63524609dbc93d4b5ff
v4l: rcar-fcp: Add an API to retrieve the FCP device

The new rcar_fcp_get_device() function retrieves the struct device
related to the FCP device. This is useful to handle DMA mapping through
the right device.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Acked-by: Mauro Cavalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/rcar-fcp.c
include/media/rcar-fcp.h