<html><body><p>
<pre>
Hi, Mac:
On Fri, 2023-11-24 at 16:53 +0800, mac.shen wrote:
> Add tee client application, HDCP 1.x and 2.x authentication for
> DisplayPort
> to support the HDCP feature.
>
> Signed-off-by: mac.shen <mac.shen@mediatek.com>
> ---
[snip]
> +
> static int mtk_dp_probe(struct platform_device *pdev)
> {
> struct mtk_dp *mtk_dp;
> @@ -2657,6 +2778,16 @@ static int mtk_dp_probe(struct platform_device
> *pdev)
> if (ret)
> return ret;
>
> +INIT_WORK(&mtk_dp->hdcp_work, mtk_dp_hdcp_handle);
> +mtk_dp->hdcp_workqueue = create_workqueue("mtk_dp_hdcp_work");
> +if (!mtk_dp->hdcp_workqueue) {
> +dev_err(mtk_dp->dev, "failed to create hdcp work
> queue");
> +return -ENOMEM;
> +}
> +
> +mtk_dp->hdcp_info.aux = &mtk_dp->aux;
> +mtk_dp->hdcp_info.regs = mtk_dp->regs;
It's not necessary to duplicate aux and regs, so drop this.
Regards,
CK
> +
> mtk_dp->bridge.funcs = &mtk_dp_bridge_funcs;
> mtk_dp->bridge.of_node = dev->of_node;
> mtk_dp->bridge.type = mtk_dp->data->bridge_type;
>
</pre>
</p></body></html><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************
The information contained in this e-mail message (including any
attachments) may be confidential, proprietary, privileged, or otherwise
exempt from disclosure under applicable laws. It is intended to be
conveyed only to the designated recipient(s). Any use, dissemination,
distribution, printing, retaining or copying of this e-mail (including its
attachments) by unintended recipient(s) is strictly prohibited and may
be unlawful. If you are not an intended recipient of this e-mail, or believe
that you have received this e-mail in error, please notify the sender
immediately (by replying to this e-mail), delete any and all copies of
this e-mail (including any attachments) from your system, and do not
disclose the content of this e-mail to any other person. Thank you!
</pre><!--}-->