]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-vin: Route events to correct video device
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 15 Jan 2021 00:21:46 +0000 (01:21 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 13:42:05 +0000 (14:42 +0100)
commita5d20ac3d1d7b594d2169023f65e136f0ecd9d2c
treea3fdebdf3530d91599906353367204e60dca85f5
parent30514e7d0cae75787b1c0feccdf7deab377c839d
media: rcar-vin: Route events to correct video device

The event route for VIN running with a media controller (Gen3) is
incorrect as all events are only routed to the video device that are
used to register the async notifier.

Remedy this be examining which subdevice generated the event and route
it to all VIN(s) that are connected to that subdevice.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-v4l2.c