[media] vimc: common: Add vimc_link_validate
authorHelen Fornazier <helen.koike@collabora.com>
Mon, 19 Jun 2017 17:00:14 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Jun 2017 12:05:38 +0000 (09:05 -0300)
commit288a22d45c631f5be5e1c8b83977a78841083d3c
tree976410940d5a414d438afbcc53eedb386c9dacd4
parentbf5fb95c261de259e912e49973c66347a0a5b3d3
[media] vimc: common: Add vimc_link_validate

All links will be checked in the same way. Adding a helper function for
that

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vimc/vimc-capture.c
drivers/media/platform/vimc/vimc-common.c
drivers/media/platform/vimc/vimc-common.h