• Sakari Ailus's avatar
    media: v4l: async: Only pass match information for async subdev validation · 9b4d2f37
    Sakari Ailus authored
    Pass only information required for sub-device matching to functions
    checking whether the async sub-device already exists. Do the same for
    debug message printing. This makes further changes to other aspects of
    async sub-devices easier.
    
    Accordingly, also perform further renames:
    
    	asd_equal as v4l2_async_match_equal,
    	v4l2_async_nf_has_async_subdev as v4l2_async_nf_has_async_match,
    	__v4l2_async_nf_has_async_subdev as
    		v4l2_async_nf_has_async_subdev_entry and
    	v4l2_async_nf_asd_valid as v4l2_async_nf_match_valid.
    Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
    Tested-by: Philipp Zabel <p.zabel@pengutronix.de> # imx6qp
    Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> # rcar + adv746x
    Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Tested-by: Aishwarya Kothari <aishwarya.kothari@toradex.com> # Apalis i.MX6Q with TC358743
    Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # Renesas RZ/G2L SMARC
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
    9b4d2f37
v4l2-async.c 23.3 KB