public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Petr Benes <petrben@gmail.com>
Cc: "Daniel Lezcano" <daniel.lezcano@linaro.org>,
	"Michal Vokáč" <michal.vokac@ysoft.com>,
	"Andrzej Pietrasiewicz" <andrzej.p@collabora.com>,
	linux-pm@vger.kernel.org, "Shawn Guo" <shawnguo@kernel.org>,
	"Amit Kucheria" <amitk@kernel.org>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Pengutronix Kernel Team" <kernel@pengutronix.de>,
	"Fabio Estevam" <festevam@gmail.com>,
	"NXP Linux Team" <linux-imx@nxp.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, "Petr Beneš" <petr.benes@ysoft.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH] thermal: imx: Fix temperature measurements on i.MX6 after alarm
Date: Tue, 19 Oct 2021 12:35:25 +0200	[thread overview]
Message-ID: <20211019103525.GB16320@pengutronix.de> (raw)
In-Reply-To: <CAPwXO5YguJtSFSqnA_aGPch2NswmrP1EzOs0QH5O_iOdtn5W1A@mail.gmail.com>

Hi Petr,

On Tue, Oct 19, 2021 at 09:24:44AM +0200, Petr Benes wrote:
> On Mon, 18 Oct 2021 at 13:38, Daniel Lezcano <daniel.lezcano@linaro.org> wrote:
> >
> > On 18/10/2021 13:28, Oleksij Rempel wrote:
> > > Hi Michal,
> > >
> > > I hope you have seen this patch:
> > > https://lore.kernel.org/all/20210924115032.29684-1-o.rempel@pengutronix.de/
> > >
> > > Are there any reason why this was ignored?
> >
> > No reasons, I was waiting for some tags before merging it. But I forget
> > about it when reviewing the current patch.
> 
> Tested Oleksij's patch. It works OK. A question arose. Does it require
> CONFIG_PM=y?
> If this condition is mandatory and the requirement is valid, Kconfig
> should be changed accordingly.
> I'm not able to verify it works without PM, seems it doesn't.

If CONFIG_PM=n, all pm_runtime_* will do nothing and the imx_thermal core
will stay enabled, see:
 
+/* the core was configured and enabled just before */
+pm_runtime_set_active(&pdev->dev);
+pm_runtime_enable(data->dev);

Regards,
Oleksij
-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  reply	other threads:[~2021-10-19 10:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08  8:11 [PATCH] thermal: imx: Fix temperature measurements on i.MX6 after alarm Michal Vokáč
2021-10-16 22:23 ` Daniel Lezcano
2021-10-18  8:36   ` Petr Benes
2021-10-18  8:43     ` Daniel Lezcano
2021-10-18 11:11     ` Daniel Lezcano
2021-10-18 11:28 ` Oleksij Rempel
2021-10-18 11:38   ` Daniel Lezcano
2021-10-19  7:24     ` Petr Benes
2021-10-19 10:35       ` Oleksij Rempel [this message]
2021-10-18 11:41   ` Petr Benes
2021-10-18 12:00     ` Michal Vokáč

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211019103525.GB16320@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=amitk@kernel.org \
    --cc=andrzej.p@collabora.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=michal.vokac@ysoft.com \
    --cc=petr.benes@ysoft.com \
    --cc=petrben@gmail.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox