drm/i915/hdcp: Fix config_stream_type() ret value
authorAnshuman Gupta <anshuman.gupta@intel.com>
Tue, 3 Mar 2020 07:38:38 +0000 (13:08 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Wed, 4 Mar 2020 01:28:37 +0000 (06:58 +0530)
commit391615d998367b6495ccf9e685120986e8d02fa6
tree82b16d7de1f1e224130048bd1a5dcef1c7048b41
parentbeb7712923e57e36b4db7d00cc70968065a5b265
drm/i915/hdcp: Fix config_stream_type() ret value

DP shim's config_stream_type considered to be succeeded when
return value of intel_dp_hdcp2_write_msg() equals to size of
message to be written, it makes config_stream_type to return
a zero success value in order to succeed the HDCP auth.

v2:
- config_stream_type() returns 0 on success. [Ram]

CC: Ramalingam C <ramalingam.c@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/20200303073838.25871-1-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_dp.c