• Sakari Ailus's avatar
    media: v4l: async: Drop duplicate handling when adding connections · 393cfcc0
    Sakari Ailus authored
    
    
    The connections are checked for duplicates already when the notifier is
    registered. This is effectively a sanity check for driver (and possibly
    obscure firmware) bugs. Don't do this when adding the connection.
    
    Retain the int return type for now. It'll be needed very soon again.
    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>
    393cfcc0
v4l2-async.c 21.7 KB