lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e2cd8a249820913562350c786116d91d447f437a.camel@pengutronix.de>
Date: Mon, 06 Jan 2025 09:15:07 +0100
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Xiaolei Wang <xiaolei.wang@...driver.com>, mchehab@...nel.org
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: coda: Add system resume interface

On Sa, 2024-12-21 at 11:14 +0800, Xiaolei Wang wrote:
> When the system goes into sleep mode, the dependent
> power will be turned off, so when the system resumes,
> coda_hw_init() needs to be called, otherwise it will
> get 'CODA PIC_RUN timeout' after resuming.
> 
> Signed-off-by: Xiaolei Wang <xiaolei.wang@...driver.com>
> ---
>  drivers/media/platform/chips-media/coda/coda-common.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/chips-media/coda/coda-common.c b/drivers/media/platform/chips-media/coda/coda-common.c
> index 289a076c3bcc..e6e3f5ec24f6 100644
> --- a/drivers/media/platform/chips-media/coda/coda-common.c
> +++ b/drivers/media/platform/chips-media/coda/coda-common.c
> @@ -3340,6 +3340,7 @@ static int coda_runtime_resume(struct device *dev)
>  
>  static const struct dev_pm_ops coda_pm_ops = {
>  	SET_RUNTIME_PM_OPS(NULL, coda_runtime_resume, NULL)
> +	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
>  };
>  
>  static struct platform_driver coda_driver = {

Reviewed-by: Philipp Zabel <p.zabel@...gutronix.de>

regards
Philipp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ