We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 758ca4c commit eea24feCopy full SHA for eea24fe
1 file changed
drivers/gpu/drm/rockchip/cdn-dp-core.c
@@ -729,7 +729,7 @@ static int cdn_dp_enable(struct cdn_dp_device *dp)
729
}
730
731
/* Enable hdcp if it's desired */
732
- if (dp->connector.state->content_protection ==
+ if (dp->connector.state && dp->connector.state->content_protection ==
733
DRM_MODE_CONTENT_PROTECTION_DESIRED)
734
ret = cdn_dp_start_hdcp1x_auth(dp);
735
0 commit comments