Loading arch/arm64/boot/dts/qcom/sdm845-pinctrl.dtsi +3 −0 Original line number Diff line number Diff line Loading @@ -2753,6 +2753,7 @@ pins = "gpio80","gpio79"; bias-pull-down; /* PULL DOWN */ drive-strength = <2>; /* 2 MA */ output-low; }; }; Loading Loading @@ -2809,6 +2810,7 @@ pins = "gpio28"; bias-pull-down; /* PULL DOWN */ drive-strength = <2>; /* 2 MA */ output-low; }; }; Loading Loading @@ -2866,6 +2868,7 @@ pins = "gpio9","gpio8"; bias-pull-down; /* PULL DOWN */ drive-strength = <2>; /* 2 MA */ output-low; }; }; Loading drivers/media/platform/msm/camera/cam_cdm/cam_cdm_hw_core.c +2 −12 Original line number Diff line number Diff line Loading @@ -785,18 +785,6 @@ int cam_hw_cdm_init(void *hw_priv, time_left = wait_for_completion_timeout(&cdm_core->reset_complete, msecs_to_jiffies(CAM_CDM_HW_RESET_TIMEOUT)); /* * Check for HW error and recover as a workaround * Sometimes CDM HW triggers irq with invalid status for * HW reset command, so ignore reset failure and proceed further * as a workaround. */ if (time_left <= 0) { CAM_ERR(CAM_CDM, "CDM HW reset Wait failed time_left=%ld", time_left); time_left = 1; } if (time_left <= 0) { CAM_ERR(CAM_CDM, "CDM HW reset Wait failed rc=%d", rc); goto disable_return; Loading Loading @@ -869,6 +857,8 @@ int cam_hw_cdm_probe(struct platform_device *pdev) cdm_hw->hw_state = CAM_HW_STATE_POWER_DOWN; cdm_hw->soc_info.pdev = pdev; cdm_hw->soc_info.dev = &pdev->dev; cdm_hw->soc_info.dev_name = pdev->name; cdm_hw_intf->hw_type = CAM_HW_CDM; cdm_hw->open_count = 0; mutex_init(&cdm_hw->hw_mutex); Loading drivers/media/platform/msm/camera/cam_cpas/cam_cpas_hw.c +2 −0 Original line number Diff line number Diff line Loading @@ -1338,6 +1338,8 @@ int cam_cpas_hw_probe(struct platform_device *pdev, cpas_hw->hw_state = CAM_HW_STATE_POWER_DOWN; cpas_hw->soc_info.pdev = pdev; cpas_hw->soc_info.dev = &pdev->dev; cpas_hw->soc_info.dev_name = pdev->name; cpas_hw->open_count = 0; mutex_init(&cpas_hw->hw_mutex); spin_lock_init(&cpas_hw->hw_lock); Loading drivers/media/platform/msm/camera/cam_icp/icp_hw/a5_hw/a5_dev.c +2 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,8 @@ int cam_a5_probe(struct platform_device *pdev) } a5_dev->soc_info.pdev = pdev; a5_dev->soc_info.dev = &pdev->dev; a5_dev->soc_info.dev_name = pdev->name; a5_dev_intf->hw_priv = a5_dev; a5_dev_intf->hw_ops.init = cam_a5_init_hw; a5_dev_intf->hw_ops.deinit = cam_a5_deinit_hw; Loading drivers/media/platform/msm/camera/cam_icp/icp_hw/bps_hw/bps_dev.c +2 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,8 @@ int cam_bps_probe(struct platform_device *pdev) return -ENOMEM; } bps_dev->soc_info.pdev = pdev; bps_dev->soc_info.dev = &pdev->dev; bps_dev->soc_info.dev_name = pdev->name; bps_dev_intf->hw_priv = bps_dev; bps_dev_intf->hw_ops.init = cam_bps_init_hw; bps_dev_intf->hw_ops.deinit = cam_bps_deinit_hw; Loading Loading
arch/arm64/boot/dts/qcom/sdm845-pinctrl.dtsi +3 −0 Original line number Diff line number Diff line Loading @@ -2753,6 +2753,7 @@ pins = "gpio80","gpio79"; bias-pull-down; /* PULL DOWN */ drive-strength = <2>; /* 2 MA */ output-low; }; }; Loading Loading @@ -2809,6 +2810,7 @@ pins = "gpio28"; bias-pull-down; /* PULL DOWN */ drive-strength = <2>; /* 2 MA */ output-low; }; }; Loading Loading @@ -2866,6 +2868,7 @@ pins = "gpio9","gpio8"; bias-pull-down; /* PULL DOWN */ drive-strength = <2>; /* 2 MA */ output-low; }; }; Loading
drivers/media/platform/msm/camera/cam_cdm/cam_cdm_hw_core.c +2 −12 Original line number Diff line number Diff line Loading @@ -785,18 +785,6 @@ int cam_hw_cdm_init(void *hw_priv, time_left = wait_for_completion_timeout(&cdm_core->reset_complete, msecs_to_jiffies(CAM_CDM_HW_RESET_TIMEOUT)); /* * Check for HW error and recover as a workaround * Sometimes CDM HW triggers irq with invalid status for * HW reset command, so ignore reset failure and proceed further * as a workaround. */ if (time_left <= 0) { CAM_ERR(CAM_CDM, "CDM HW reset Wait failed time_left=%ld", time_left); time_left = 1; } if (time_left <= 0) { CAM_ERR(CAM_CDM, "CDM HW reset Wait failed rc=%d", rc); goto disable_return; Loading Loading @@ -869,6 +857,8 @@ int cam_hw_cdm_probe(struct platform_device *pdev) cdm_hw->hw_state = CAM_HW_STATE_POWER_DOWN; cdm_hw->soc_info.pdev = pdev; cdm_hw->soc_info.dev = &pdev->dev; cdm_hw->soc_info.dev_name = pdev->name; cdm_hw_intf->hw_type = CAM_HW_CDM; cdm_hw->open_count = 0; mutex_init(&cdm_hw->hw_mutex); Loading
drivers/media/platform/msm/camera/cam_cpas/cam_cpas_hw.c +2 −0 Original line number Diff line number Diff line Loading @@ -1338,6 +1338,8 @@ int cam_cpas_hw_probe(struct platform_device *pdev, cpas_hw->hw_state = CAM_HW_STATE_POWER_DOWN; cpas_hw->soc_info.pdev = pdev; cpas_hw->soc_info.dev = &pdev->dev; cpas_hw->soc_info.dev_name = pdev->name; cpas_hw->open_count = 0; mutex_init(&cpas_hw->hw_mutex); spin_lock_init(&cpas_hw->hw_lock); Loading
drivers/media/platform/msm/camera/cam_icp/icp_hw/a5_hw/a5_dev.c +2 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,8 @@ int cam_a5_probe(struct platform_device *pdev) } a5_dev->soc_info.pdev = pdev; a5_dev->soc_info.dev = &pdev->dev; a5_dev->soc_info.dev_name = pdev->name; a5_dev_intf->hw_priv = a5_dev; a5_dev_intf->hw_ops.init = cam_a5_init_hw; a5_dev_intf->hw_ops.deinit = cam_a5_deinit_hw; Loading
drivers/media/platform/msm/camera/cam_icp/icp_hw/bps_hw/bps_dev.c +2 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,8 @@ int cam_bps_probe(struct platform_device *pdev) return -ENOMEM; } bps_dev->soc_info.pdev = pdev; bps_dev->soc_info.dev = &pdev->dev; bps_dev->soc_info.dev_name = pdev->name; bps_dev_intf->hw_priv = bps_dev; bps_dev_intf->hw_ops.init = cam_bps_init_hw; bps_dev_intf->hw_ops.deinit = cam_bps_deinit_hw; Loading