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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 14 Jun 2023 10:59:47 +0200
From:   Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To:     Clark Wang <xiaoning.wang@....com>
Cc:     thierry.reding@...il.com, shawnguo@...nel.org,
        s.hauer@...gutronix.de, festevam@...il.com,
        linux-arm-kernel@...ts.infradead.org, linux-pwm@...r.kernel.org,
        linux-imx@....com, kernel@...gutronix.de,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pwm: imx-tpm: force 'real_period' to be zero in suspend

On Fri, May 05, 2023 at 02:58:39PM +0800, Clark Wang wrote:
> From: Fancy Fang <chen.fang@....com>
> 
> During suspend, all the tpm registers will lose values.
> So the 'real_period' value of struct 'imx_tpm_pwm_chip'
> should be forced to be zero to force the period update
> code can be executed after system resume back.
> 
> Signed-off-by: Fancy Fang <chen.fang@....com>
> Signed-off-by: Clark Wang <xiaoning.wang@....com>

Acked-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Fixes: 738a1cfec2ed ("pwm: Add i.MX TPM PWM driver support")

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ