mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
media: rockchip: vicap remove reset control when probe
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I49c6799ac458280eaa8a3cf5dbd373aca3eb01d1
This commit is contained in:
@@ -1958,7 +1958,6 @@ static int rkcif_plat_probe(struct platform_device *pdev)
|
||||
dev_warn(dev, "dev:%s create proc failed\n", dev_name(dev));
|
||||
|
||||
rkcif_init_reset_monitor(cif_dev);
|
||||
rkcif_soft_reset(cif_dev, false);
|
||||
pm_runtime_enable(&pdev->dev);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -1264,8 +1264,6 @@ static int rkcif_plat_hw_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
rkcif_hw_soft_reset(cif_hw, true);
|
||||
|
||||
mutex_init(&cif_hw->dev_lock);
|
||||
|
||||
pm_runtime_enable(&pdev->dev);
|
||||
|
||||
@@ -908,8 +908,6 @@ static int csi2_probe(struct platform_device *pdev)
|
||||
if (ret)
|
||||
goto rmmutex;
|
||||
|
||||
csi2_hw_do_reset(csi2);
|
||||
|
||||
v4l2_info(&csi2->sd, "probe success, v4l2_dev:%s!\n", csi2->sd.v4l2_dev->name);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user