[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230614085947.d4b2iaopcbit624w@pengutronix.de>
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