diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2024-06-18 21:46:44 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2024-08-26 16:36:14 +0300 |
commit | a3d44f011c6b7a87c9ad0d5be2f5fa092fa419bf (patch) | |
tree | 52e402204349f74d30726ce03fb9ea40971152bb /net | |
parent | 5fd3e2412ade67ea20d855f0aea821c650d27559 (diff) | |
download | lwn-a3d44f011c6b7a87c9ad0d5be2f5fa092fa419bf.tar.gz lwn-a3d44f011c6b7a87c9ad0d5be2f5fa092fa419bf.zip |
media: renesas: vsp1: Implement .link_validate() for video devices
The v4l2_subdev_link_validate() helper prints a warning if the
.link_validate() operation is not implemented for video devices
connected to the subdevs. Implement the operation to silence the
warning.
Ideally validation of the link between the video device and the subdev
should be implemented in that operation. That would however break
userspace that does not configure formats on all video devices before
starting streaming. While this mode of operation may not be considered
valid by the V4L2 API specification (interpretation differ), it is
nonetheless supported by the vsp1 driver at the moment and used by at
least the vsp1 unit test suite, and possibly other userspace
applications. Removing it would be a regression.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions