misc/mei/hdcp: Initiate Locality check
authorRamalingam C <ramalingam.c@intel.com>
Thu, 21 Feb 2019 18:12:02 +0000 (23:42 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 25 Feb 2019 16:02:20 +0000 (17:02 +0100)
commit682932f3e144a09759facfc5d8fe186760b01f89
tree5fa35ff510d92168b8fd4151d98babb8491615c1
parent6a1a00a30e3a41c8e9a9fc78a6153608f326114d
misc/mei/hdcp: Initiate Locality check

Requests ME to start the second stage of HDCP2.2 authentication,
called Locality Check.

On Success, ME FW will provide LC_Init message to send to hdcp sink.

v2: Rebased.
v3:
  cldev is passed as first parameter [Tomas]
  Redundant comments and cast are removed [Tomas]
v4:
  %zd used for ssize_t [Alexander]
  %s/return -1/return -EIO [Alexander]
  Style fixed [Uma]
v5: Rebased.
v6:
  Collected the Rb-ed by.
  Rebasing.
v7:
  Adjust to the new mei interface.
  Fix for Kdoc.
v8:
  K-Doc addition. [Tomas]
v9:
  renamed func as mei_hdcp_* [Tomas]
  Inline function is defined for DDI index [Tomas]
v10:
  K-Doc fix. [Tomas]
v11:
  Rebased.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1550772730-23280-9-git-send-email-ramalingam.c@intel.com
drivers/misc/mei/hdcp/mei_hdcp.c