DRM: SDE: Fix the spelling in DTS parser
Fix one of the mode properties' spelling error. Change-Id: I6cb0f31aa62b825773b97099fcac3da8a2b94af6 Signed-off-by: Camus Wong <camusw@codeaurora.org>
This commit is contained in:
parent
a8988fe98c
commit
59c20536bc
2 changed files with 3 additions and 4 deletions
|
@ -50,7 +50,7 @@ Example:
|
||||||
qcom,mode-v-pulse-width = <10>;
|
qcom,mode-v-pulse-width = <10>;
|
||||||
qcom,mode-v-back-porch = <72>;
|
qcom,mode-v-back-porch = <72>;
|
||||||
qcom,mode-v-active-high;
|
qcom,mode-v-active-high;
|
||||||
qcom,mode-refersh-rate = <30>;
|
qcom,mode-refresh-rate = <30>;
|
||||||
qcom,mode-clock-in-khz = <297000>;
|
qcom,mode-clock-in-khz = <297000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2799,7 +2799,6 @@ static int _sde_hdmi_parse_dt_modes(struct device_node *np,
|
||||||
u32 v_front_porch, v_pulse_width, v_back_porch;
|
u32 v_front_porch, v_pulse_width, v_back_porch;
|
||||||
bool h_active_high, v_active_high;
|
bool h_active_high, v_active_high;
|
||||||
u32 flags = 0;
|
u32 flags = 0;
|
||||||
|
|
||||||
root_node = of_get_child_by_name(np, "qcom,customize-modes");
|
root_node = of_get_child_by_name(np, "qcom,customize-modes");
|
||||||
if (!root_node) {
|
if (!root_node) {
|
||||||
root_node = of_parse_phandle(np, "qcom,customize-modes", 0);
|
root_node = of_parse_phandle(np, "qcom,customize-modes", 0);
|
||||||
|
@ -2887,10 +2886,10 @@ static int _sde_hdmi_parse_dt_modes(struct device_node *np,
|
||||||
v_active_high = of_property_read_bool(node,
|
v_active_high = of_property_read_bool(node,
|
||||||
"qcom,mode-v-active-high");
|
"qcom,mode-v-active-high");
|
||||||
|
|
||||||
rc = of_property_read_u32(node, "qcom,mode-refersh-rate",
|
rc = of_property_read_u32(node, "qcom,mode-refresh-rate",
|
||||||
&mode->vrefresh);
|
&mode->vrefresh);
|
||||||
if (rc) {
|
if (rc) {
|
||||||
SDE_ERROR("failed to read refersh-rate, rc=%d\n", rc);
|
SDE_ERROR("failed to read refresh-rate, rc=%d\n", rc);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue