lkml.org 
[lkml]   [2022]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] remoteproc: qcom: pas: Add decrypt shutdown support for modem
On Fri 20 May 02:28 CDT 2022, Sibi Sankar wrote:
> +static int adsp_decrypt_shutdown(struct qcom_adsp *adsp)

Forgot to write down one comment, how about naming this
adsp_shutdown_poll_decrypt() to make it slightly more clear from the
name what's going on here?

Thanks,
Bjorn

> +{
> + int retry_num = 50;
> + int ret = -EINVAL;
> +
> + while (retry_num && ret) {
> + msleep(ADSP_DECRYPT_SHUTDOWN_DELAY_MS);
> + ret = qcom_scm_pas_shutdown(adsp->pas_id);
> + retry_num--;
> + }
> +
> + return ret;
> +}
> +

\
 
 \ /
  Last update: 2022-06-30 21:31    [W:0.086 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site