media: rp1: csi2: Use standard link_validate
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Tue, 3 Oct 2023 10:59:02 +0000 (13:59 +0300)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:22 +0000 (11:35 +0000)
commita8257314f6e786d8ac229b409e13283f940f1a2f
treee96fd3b0c6e6c79fdd4c665d6e2c4c24ed249ab0
parent52c075bffeeeb6139617fdb871cb09ca299579cd
media: rp1: csi2: Use standard link_validate

The current csi2_link_validate() skips some important checks. Let's
rather use the standard v4l2_subdev_link_validate_default() as the
link_validate hook.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/media/platform/raspberrypi/rp1_cfe/csi2.c