media: v4l: async: Try more connections
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 11 May 2023 12:08:42 +0000 (14:08 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jul 2023 08:52:40 +0000 (10:52 +0200)
commit765f60568f2904b2de3011a8de2fadba4e4de44f
treeb34610a4664c6774bb1931adc6f4326fad6ded7c
parentcb8c9f3153004cb0930682816497426969ead27f
media: v4l: async: Try more connections

When an async sub-device is registered, it used to be that the first one
of its connections were matched when found. Continue looking for matches
until a notifier no longer has any.

Signed-off-by: Sakari 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: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-async.c