diff options
| author | NĂcolas F. R. A. Prado <[email protected]> | 2019-10-30 12:30:40 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-11-05 13:32:14 +0000 |
| commit | 31172e520b688524acaac61de1f1f9fc89665ee7 (patch) | |
| tree | 635f82fd5b4cd93907f6024d0dad17f4376ea7bb /drivers/media/platform/vimc/vimc-common.h | |
| parent | media: hi556: Add support for Hi-556 sensor (diff) | |
| download | kernel-31172e520b688524acaac61de1f1f9fc89665ee7.tar.gz kernel-31172e520b688524acaac61de1f1f9fc89665ee7.zip | |
media: vimc: Make capture devices and subdevices use different link_validates
Instead of validating the links to capture devices and subdevices with
the same function, use the default v4l function for links between
subdevices and only use a different function for validating between
capture device and subdevice.
This change should also ease future work to associate multiple mbus
codes for the same pixelformat in vimc_pix_map.
These changes were tested with
v4l2-compliance SHA: 3f806630e2ecbcebe31872b865c5c4b42f111a99, 64 bits
and passed all tests:
Grand Total for vimc device /dev/media0: 451, Succeeded: 451, Failed: 0, Warnings: 0
Signed-off-by: NĂcolas F. R. A. Prado <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.h')
| -rw-r--r-- | drivers/media/platform/vimc/vimc-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/vimc/vimc-common.h b/drivers/media/platform/vimc/vimc-common.h index c75401a36312..bf729fcde6a9 100644 --- a/drivers/media/platform/vimc/vimc-common.h +++ b/drivers/media/platform/vimc/vimc-common.h @@ -206,12 +206,12 @@ int vimc_ent_sd_register(struct vimc_ent_device *ved, const struct v4l2_subdev_ops *sd_ops); /** - * vimc_link_validate - validates a media link + * vimc_vdev_link_validate - validates a media link * * @link: pointer to &struct media_link * * This function calls validates if a media link is valid for streaming. */ -int vimc_link_validate(struct media_link *link); +int vimc_vdev_link_validate(struct media_link *link); #endif |
