• Sakari Ailus's avatar
    media: v4l: async: Rework internal lists · 9bf19fbf
    Sakari Ailus authored
    This patch re-arranges internal V4L2 async lists for preparation of
    supporting multiple connections per sub-device as well as cleaning up used
    lists.
    
    The list of unbound V4L2 sub-devices shall be maintained for the purpose of
    listing those sub-devices only, not for their bindin status. Also, the V4L2
    async connections now have, instead of two list entries, a single list
    entry in the notifier's list, be that either waiting or done lists, while
    the notifier's asc_list is removed.
    
    The one-to-one relation between a sub-device and a connection is still
    maintained in this patch.
    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
    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>
    9bf19fbf
xilinx-vipp.c 14.7 KB