drm/i915/hdcp: Remove enforce_type0 check outside loop
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 15 May 2023 10:32:23 +0000 (16:02 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Tue, 16 May 2023 08:09:56 +0000 (13:39 +0530)
commit415beb1fa63cf06e3b696822e94f977171921a2a
treee6e6aab6440b94ecc5ef52190556e492fe659d46
parent4c4279a8d58d146dc39b150226ee974652de4eef
drm/i915/hdcp: Remove enforce_type0 check outside loop

Remove enforce_type0 check outside the loop since it
does not make sense to keep it there as we use the same
digport and continue checking it again and again

Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230515103225.688830-3-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c