|
@@ -303,6 +303,8 @@ static int vimc_probe(struct platform_device *pdev)
|
|
|
|
|
|
|
|
dev_dbg(&pdev->dev, "probe");
|
|
dev_dbg(&pdev->dev, "probe");
|
|
|
|
|
|
|
|
|
|
+ memset(&vimc->mdev, 0, sizeof(vimc->mdev));
|
|
|
|
|
+
|
|
|
/* Create platform_device for each entity in the topology*/
|
|
/* Create platform_device for each entity in the topology*/
|
|
|
vimc->subdevs = devm_kcalloc(&vimc->pdev.dev, vimc->pipe_cfg->num_ents,
|
|
vimc->subdevs = devm_kcalloc(&vimc->pdev.dev, vimc->pipe_cfg->num_ents,
|
|
|
sizeof(*vimc->subdevs), GFP_KERNEL);
|
|
sizeof(*vimc->subdevs), GFP_KERNEL);
|