Merge "msm: camera: common: Fix enable/disable for dsp clock source" into camera-kernel.lnx.4.0

此提交包含在:
Camera Software Integration
2020-08-31 13:23:31 -07:00
提交者 Gerrit - the friendly Code Review server
當前提交 3f1cf31dee
共有 2 個檔案被更改,包括 22 行新增6 行删除

查看文件

@@ -544,7 +544,6 @@ int cam_soc_util_get_option_clk_by_name(struct cam_hw_soc_info *soc_info,
index = of_property_match_string(of_node, "clock-names-option",
clk_name);
if (index < 0) {
CAM_DBG(CAM_UTIL, "No clk data for %s", clk_name);
*clk_index = -1;
@@ -557,6 +556,7 @@ int cam_soc_util_get_option_clk_by_name(struct cam_hw_soc_info *soc_info,
CAM_ERR(CAM_UTIL, "No clk named %s found. Dev %s", clk_name,
soc_info->dev_name);
*clk_index = -1;
*clk = NULL;
return -EFAULT;
}
*clk_index = index;