drm/i915/hdcp: Add update_pipe early return
authorAnshuman Gupta <anshuman.gupta@intel.com>
Wed, 5 Aug 2020 11:45:20 +0000 (17:15 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Wed, 26 Aug 2020 11:11:31 +0000 (16:41 +0530)
commitdbda95809457875ded5d596acf929fc9de4d36c2
tree2c4ee9de068262541f19590650bc3d204c49922c
parentced026e959bec5046afa310d6474e147b6294da2
drm/i915/hdcp: Add update_pipe early return

Currently intel_hdcp_update_pipe() is also getting called for non-hdcp
connectors and get through its conditional code flow, which is completely
unnecessary for non-hdcp connectors, therefore it make sense to
have an early return. No functional change.

v2:
- rebased.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200805114521.867-2-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c