Merge "msm: camera: sensor: Rename the dtsi entry to avoid the predefined string" into camera-kernel.lnx.4.0

Cette révision appartient à :
Camera Software Integration
2020-10-28 13:28:52 -07:00
révisé par Gerrit - the friendly Code Review server
révision bd56b374d0

Voir le fichier

@@ -760,7 +760,7 @@ static int cam_res_mgr_parse_dt_shared_gpio(
of_node = dev->of_node;
dt->num_shared_gpio = of_property_count_u32_elems(of_node,
"shared-gpios");
"gpios-shared");
if (dt->num_shared_gpio <= 0) {
CAM_DBG(CAM_RES,
@@ -776,7 +776,7 @@ static int cam_res_mgr_parse_dt_shared_gpio(
return -EINVAL;
}
rc = of_property_read_u32_array(of_node, "shared-gpios",
rc = of_property_read_u32_array(of_node, "gpios-shared",
dt->shared_gpio, dt->num_shared_gpio);
if (rc) {
CAM_ERR(CAM_RES, "Get shared gpio array failed.");
@@ -796,7 +796,7 @@ static int cam_res_mgr_parse_dt_shared_pinctrl_gpio(
of_node = dev->of_node;
dt->num_shared_pctrl_gpio = of_property_count_u32_elems(of_node,
"shared-pinctrl-gpios");
"gpios-shared-pinctrl");
if (dt->num_shared_pctrl_gpio <= 0) {
CAM_DBG(CAM_RES,
@@ -825,7 +825,7 @@ static int cam_res_mgr_parse_dt_shared_pinctrl_gpio(
CAM_INFO(CAM_RES,
"number of pctrl_gpio: %d", dt->num_shared_pctrl_gpio);
rc = of_property_read_u32_array(of_node, "shared-pinctrl-gpios",
rc = of_property_read_u32_array(of_node, "gpios-shared-pinctrl",
dt->shared_pctrl_gpio, dt->num_shared_pctrl_gpio);
if (rc) {
CAM_ERR(CAM_RES, "Get shared pinctrl gpio array failed.");