media: v4l2-async: Log message in case of heterogeneous fwnode match
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 1 Jul 2020 06:21:40 +0000 (08:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 12:17:16 +0000 (14:17 +0200)
commite80cdf0a3843fe570c891cb976feb0c136b19fb7
tree84a5dc046abc638f0baab6c1c38d5675a67ada10
parent3e33392a9561fd64515049317041646ab3bf32aa
media: v4l2-async: Log message in case of heterogeneous fwnode match

When a notifier supplies a device fwnode and a subdev supplies an
endpoint fwnode, incorrect matches may occur if multiple subdevs
correspond to the same device fwnode. This can't be handled
transparently in the framework, and requires the notifier to switch to
endpoint fwnodes. Log a message to notify of this problem. A second
message is added to help accelerating the transition to endpoint
matching.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-async.c