media: v4l2-fwnode: Say it's fine to use v4l2_fwnode_endpoint_parse
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 30 Sep 2020 14:34:43 +0000 (16:34 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:13 +0000 (10:31 +0100)
commit3be682fac66ca5829bb18c623c15147628a2d6f8
treedce4cd84afbfb5ab49943bdc2b62eb7dcb2ce44b
parent20936f77347d021299301569603b317c110de712
media: v4l2-fwnode: Say it's fine to use v4l2_fwnode_endpoint_parse

Earlier it was expected that there would be more variable size endpoint
properties and that most if not all drivers would need them. For that
reason it was expected also that v4l2_fwnode_endpoint_parse would no
longer be needed.

What actually happened that not all drivers require "link-frequencies",
the only variable size media endpoint property without a small upper
limit. Therefore drivers that do not need that information are fine using
v4l2_fwnode_endpoint_parse. So don't tell drivers to use
v4l2_fwnode_endpoint_alloc_parse in all cases.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/media/v4l2-fwnode.h