]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] v4l: exynos4-is: Drop unneeded check when setting up fimc-lite links
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 1 Mar 2016 09:31:53 +0000 (06:31 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 5 Mar 2016 12:10:01 +0000 (09:10 -0300)
commitde08b5a8be0df1eb7c796b0fe6b30cf1d03d14a6
tree4dd18adbe14f4ce8c688c27d2577603cea92b154
parent02650ebd2d306b661e6ad000e7981c7d8544f8f6
[media] v4l: exynos4-is: Drop unneeded check when setting up fimc-lite links

The driver verifies that the type of the remote entity matches its
expectations when setting up fimc-lite links and returns an error if it
doesn't. Those checks can never fail as the links are created by the
driver in a way that always match its expectations (the SINK and
SOURCE_ISP pads are connected to subdevs only and the SOURCE_DMA pad is
connected to a video node only). Remove them.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/exynos4-is/fimc-lite.c