drm/i915/hdcp: Fix the return handling of drm_hdcp_check_ksvs_revoked
authorRamalingam C <ramalingam.c@intel.com>
Wed, 29 Apr 2020 13:45:55 +0000 (19:15 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Wed, 8 Jul 2020 09:50:01 +0000 (15:20 +0530)
commit018532e940557d606d849139d515b4cfbc221f09
tree1e21a63668ce3cc26ebfc5d479273dbc671483b0
parent33f9a623bfc6bed3b9586f68cb4a9ea332589791
drm/i915/hdcp: Fix the return handling of drm_hdcp_check_ksvs_revoked

drm_hdcp_check_ksvs_revoked() returns the number of revoked keys and
error codes when the SRM parsing is failed.

Errors in SRM parsing can't affect the HDCP auth, hence with this patch,
I915 will look out for revoked key count alone.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
cc: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429134555.22106-1-ramalingam.c@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c