On 03/09/2024 08:57, Keke Li via B4 Relay wrote: > From: Keke Li <keke.li@xxxxxxxxxxx> > > This driver mainly responsible for organizing > MIPI data and sending raw data to ISP pipeline. > > Signed-off-by: Keke Li <keke.li@xxxxxxxxxxx> ... > +static int c3_mipi_adap_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct adap_device *adap; > + int ret; > + > + adap = devm_kzalloc(dev, sizeof(*adap), GFP_KERNEL); > + if (!adap) > + return -ENOMEM; > + > + adap->info = of_device_get_match_data(dev); > + adap->dev = dev; > + > + ret = c3_mipi_adap_ioremap_resource(adap); > + if (ret) { > + dev_err(dev, "Failed to ioremap resource: %d\n", ret); > + return ret; > + } > + > + ret = c3_mipi_adap_configure_clocks(adap); > + if (ret) { > + dev_err(dev, "Failed to configure clocks: %d\n", ret); All your patches repeat the same patterns, so all my comments apply to each patch. Best regards, Krzysztof