mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Zhang Rui <rui.zhang@intel.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>,
	"Zhao, Yakui" <yakui.zhao@intel.com>,
	Alexey Starikovskiy <aystarik@gmail.com>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Len Brown <lenb@kernel.org>
Subject: Re: [PATCH] thermal: Fix polling frequency for systems without passive cooling
Date: Fri, 17 Apr 2009 09:37:07 +0800	[thread overview]
Message-ID: <1239932227.7661.397.camel@rzhang-dt> (raw)
In-Reply-To: <20090414191645.GB7940@srcf.ucam.org>

On Wed, 2009-04-15 at 03:16 +0800, Matthew Garrett wrote:
> The polling interval (in deciseconds) was accidently interpreted as 
> being in milliseconds in one codepath, resulting in excessively frequent 
> polling. Ensure that the conversion is performed.
> 
> Signed-off-by: Matthew Garrett <mjg@redhat.com>

Acked-by: Zhang Rui <rui.zhang@intel.com>

Len,
I think we can ship this patch in 2.6.30-rc3.

thanks,
rui
> 
> ---
> 
> diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
> index 9cd15e8..564ea14 100644
> --- a/drivers/acpi/thermal.c
> +++ b/drivers/acpi/thermal.c
> @@ -909,7 +909,7 @@ static int acpi_thermal_register_thermal_zone(struct acpi_thermal *tz)
>  			thermal_zone_device_register("acpitz", trips, tz,
>  						     &acpi_thermal_zone_ops,
>  						     0, 0, 0,
> -						     tz->polling_frequency);
> +						     tz->polling_frequency*100);
>  	if (IS_ERR(tz->thermal_zone))
>  		return -ENODEV;
> 


  reply	other threads:[~2009-04-17  1:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-10 15:39 Regression: 20 ACPI interrupts per second on EEEPC 4G Alan Jenkins
2009-04-11  0:24 ` Alexey Starikovskiy
2009-04-11  9:14   ` Alan Jenkins
2009-04-12 15:54     ` [BISECTED] " Alan Jenkins
2009-04-13  2:04       ` yakui_zhao
2009-04-13  9:39         ` Alan Jenkins
2009-04-13 17:05           ` Matthew Garrett
2009-04-13 17:43             ` Joe Perches
2009-04-13 18:42             ` Alan Jenkins
2009-04-14 19:16               ` [PATCH] thermal: Fix polling frequency for systems without passive cooling Matthew Garrett
2009-04-17  1:37                 ` Zhang Rui [this message]
2009-04-18  5:05                   ` Len Brown
2009-04-13  2:06       ` [BISECTED] 20 ACPI interrupts per second on EEEPC 4G Zhang Rui
2009-04-13 14:53       ` Matthew Garrett
2009-04-17 20:54       ` Alexey Starikovskiy

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=1239932227.7661.397.camel@rzhang-dt \
    --to=rui.zhang@intel.com \
    --cc=alan-jenkins@tuffmail.co.uk \
    --cc=aystarik@gmail.com \
    --cc=kernel-testers@vger.kernel.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=yakui.zhao@intel.com \
    /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

all inboxes | Powered by JetHome®