media: video-mux: Read CSI2 config from FW, and pass to receiver
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 29 Jul 2022 16:46:49 +0000 (17:46 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:23 +0000 (11:33 +0000)
commitcab2b51dc4c6461d9305dd642ad6b803a0f71dca
treec6cc2755f04733899658e37a431052a8b413863f
parente470e585176ec9ef3ae582ce20d45f8c7d83e710
media: video-mux: Read CSI2 config from FW, and pass to receiver

There is no obligation for all source devices on a video-mux to
require the same bus configuration, so read the configuration
from the sink ports, and relay via get_mbus_config on the source
port.
If the sources support get_mbus_config, then call that first.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/platform/video-mux.c