]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] v4l: vsp1: Base link creation on availability of entities
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 13 May 2016 16:04:51 +0000 (13:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 28 Jun 2016 15:10:05 +0000 (12:10 -0300)
commit078e04993aef1bc7388e99dba99f6793e246c659
treee434aadafabe5b31400bb5e3c3a5979bd0ed19d7
parenteaa0b96bbb6586a95e66d3dedd974313d7b0d94f
[media] v4l: vsp1: Base link creation on availability of entities

Check the entity pointer instead of the feature flag to see if the
entity is available before creating related links. The two methods are
currently equivalent, but will differ in the future as we implement
support for ignoring some of the entities present in the hardware.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_drv.c