]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-vin: Refactor link notify
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 24 Jan 2022 12:48:56 +0000 (13:48 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 22 Feb 2022 08:41:10 +0000 (09:41 +0100)
commitcdb0102bf0b443b375fc92d6a81d8289bdfd64e8
treed4b51256c62c41a92c93e1b040e8ac0a6cddc55d
parent6ebb44c727932787a84bd33f3c54a5087f4acca9
media: rcar-vin: Refactor link notify

The code has grown organically and a lot of checks are performed for
the CSI-2 use-case even if the link notify is for a subdevice connected
to the parallel interface.

Before reworking the CSI-2 routing logic split the CSI-2 and parallel
link notify code in two separate blocks to make it clearer. There is no
functional change.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/rcar-vin/rcar-core.c