]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/hdcp: Remove the encoder check in hdcp enable
authorSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 19 Aug 2025 15:07:29 +0000 (20:37 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 2 Sep 2025 05:01:26 +0000 (10:31 +0530)
commite548e04e619d34c31c98f3b250c2792a0e535278
tree0bb23f4da31b0522c3ee86720ceb5b2ca7e626f9
parent3b6f62b6b5777f56e3fedc45041c2f61645b5204
drm/i915/hdcp: Remove the encoder check in hdcp enable

Remove the intel_encoder NULL check from _intel_hdcp_enable. With
all the changes it has gone through this check has become unnecessary
since at this point the connector is supposed to have the encoder
in it.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://lore.kernel.org/r/20250819150729.88561-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c