]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: rcar-vin: extend {start, stop}_streaming to work with media controller
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Sat, 14 Apr 2018 11:57:23 +0000 (07:57 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 14:38:24 +0000 (10:38 -0400)
commit7b7eb115322890bfbb813be00f65ae88bfe36ae2
tree87b9c292fa76e518d3af35a61c869ad82f8c40f6
parentc0cc5aef31704c824271b9c8043e7107acebc888
media: rcar-vin: extend {start, stop}_streaming to work with media controller

The procedure to start or stop streaming using the non-MC single
subdevice and the MC graph and multiple subdevices are quite different.
Create a new function to abstract which method is used based on which
mode the driver is running in and add logic to start the MC graph.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/rcar-vin/rcar-dma.c