media: rp1: cfe: Actually use the number of lanes configured
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 9 Feb 2024 18:52:02 +0000 (18:52 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:37 +0000 (11:35 +0000)
commitcef5481417ff3e41831f3d8b6e18cebdfcdcf176
tree497e326f044e8bd7df8940d8309569e0fc1ad7f3
parent4af1c25f098b44d507e1fc5b016b81b61841125f
media: rp1: cfe: Actually use the number of lanes configured

The driver was calling get_mbus_config to ask the sensor subdev
how many CSI2 data lanes it wished to use and with what other
properties, but then failed to pass that to the DPHY configuration.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/platform/raspberrypi/rp1_cfe/cfe.c
drivers/media/platform/raspberrypi/rp1_cfe/csi2.h
drivers/media/platform/raspberrypi/rp1_cfe/dphy.c
drivers/media/platform/raspberrypi/rp1_cfe/dphy.h