From: Enrico Scholz
mbus_code_to_bus_cfg() can fail on unknown mbus codes; pass back the
error to the caller.
Signed-off-by: Enrico Scholz
Signed-off-by: Jan Luebbe
---
drivers/gpu/ipu-v3/ipu-csi.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a
: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes
Jan Luebbe (1):
gpu: ipu-v3: csi: support RGB565 on parallel bus
drivers/gpu/ipu-v3/ipu-csi.c | 28 ++--
1 file changed, 22 insertions(+), 6 deletions(-)
--
2.17.0
The CSI_SENS_CONF_DATA_FMT_RGB565 configuration only works for MIPI
CSI-2 sources. On the parallel bus, we need to use bayer (generic) mode
instead. To handle this difference, we pass the mbus_type to
mbus_code_to_bus_cfg().
Signed-off-by: Jan Luebbe
---
drivers/gpu/ipu-v3/ipu-csi.c | 12