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)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 11 Aug 2022 16:04:23 +0000 (17:04 +0100)
commit9f1e857bcaead6c9bfebaaba05e36e4a052e57fd
tree247c5872a2d539152d0d1d7a443e7cb59c2c392d
parente6f0bf2a5706e2007ef91df6b40bfde1dfbd0029
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