-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
FILE: hdmi/xilinx-hdmirx.c FUNCTION: xhdmi_parse_of
FILE: hdmi/xilinx_drm_hdmi.c FUNCTION: xlnx_drm_hdmi_parse_of
isHdcp14_en = of_property_read_bool(node, "xlnx,include-hdcp-1-4");
isHdcp22_en = of_property_read_bool(node, "xlnx,include-hdcp-2-2");
should be:
const char *str;
of_property_read_string(node, "xlnx,include-hdcp-1-4",&str);
if (!strcmp(str, "false"))
isHdcp14_en = false;
else
isHdcp14_en = true;
of_property_read_string(node, "xlnx,include-hdcp-2-2",&str);
dev_dbg(xhdmi->dev, "xlnx,include-hdcp-2-2 is %s",str);
if (!strcmp(str, "false"))
isHdcp22_en = false;
else
isHdcp22_en = true;
of_property_read_bool returns true if the property is present no matter what the value is. There is not a way to turn this off with an overlay.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels