mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
phy: rockchip: csi2-dphy: fixes fwnode parse error of cphy
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: Id6fc73b416888dc25bf3dc8af82ea685821efaf6
This commit is contained in:
@@ -800,8 +800,9 @@ static int rockchip_csi2_dphy_fwnode_parse(struct device *dev,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (vep->bus_type == V4L2_MBUS_CSI2_DPHY) {
|
||||
config->type = V4L2_MBUS_CSI2_DPHY;
|
||||
if (vep->bus_type == V4L2_MBUS_CSI2_DPHY ||
|
||||
vep->bus_type == V4L2_MBUS_CSI2_CPHY) {
|
||||
config->type = vep->bus_type;
|
||||
config->flags = vep->bus.mipi_csi2.flags;
|
||||
s_asd->lanes = vep->bus.mipi_csi2.num_data_lanes;
|
||||
} else if (vep->bus_type == V4L2_MBUS_CCP2) {
|
||||
|
||||
Reference in New Issue
Block a user