[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2df70a79-10e1-ea9e-0425-dcc46c1e28bc@redhat.com>
Date: Wed, 8 Jan 2020 14:05:49 +0100
From: Hans de Goede <hdegoede@...hat.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Darren Hart <dvhart@...radead.org>,
Andy Shevchenko <andy@...radead.org>,
Platform Driver <platform-driver-x86@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jason Anderson <jasona.594@...il.com>
Subject: Re: [PATCH 2/2] platform/x86: GPD pocket fan: Allow somewhat
lower/higher temperature limits
Hi,
On 08-01-2020 13:23, Andy Shevchenko wrote:
> On Mon, Jan 6, 2020 at 4:42 PM Hans de Goede <hdegoede@...hat.com> wrote:
>>
>> Allow the user to configure the fan to turn on / speed-up at lower
>> thresholds then before (20 degrees Celcius as minimum instead of 40) and
>> likewise also allow the user to delay the fan speeding-up till the
>> temperature hits 90 degrees Celcius (was 70).
>>
>> Cc: Jason Anderson <jasona.594@...il.com>
>
>> Reported-by: Jason Anderson <jasona.594@...il.com>
>
> My understanding of this tag that the report assumes a bug to fix
> followed up with a corresponding Fixes tag.
Well in a way the old min/max for the limits being to strict a bug
and Jason pointed this out so I want to give him credit for that.
OTHO Fixes: feels a little bit to strong, even without a Cc: stable
tag, commits with Fixes: in there are almost guaranteed to be picked
up for the stable series and in this case that seems unnecessary to me.
If you do want to add a Fixes: tag then adding the one from patch 1/2
makes the most sense.
Regards,
Hans
>
>> Signed-off-by: Hans de Goede <hdegoede@...hat.com>
>> ---
>> drivers/platform/x86/gpd-pocket-fan.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/platform/x86/gpd-pocket-fan.c b/drivers/platform/x86/gpd-pocket-fan.c
>> index 1e6a42f2ea8a..0ffcbf9bc18e 100644
>> --- a/drivers/platform/x86/gpd-pocket-fan.c
>> +++ b/drivers/platform/x86/gpd-pocket-fan.c
>> @@ -126,7 +126,7 @@ static int gpd_pocket_fan_probe(struct platform_device *pdev)
>> int i;
>>
>> for (i = 0; i < ARRAY_SIZE(temp_limits); i++) {
>> - if (temp_limits[i] < 40000 || temp_limits[i] > 70000) {
>> + if (temp_limits[i] < 20000 || temp_limits[i] > 90000) {
>> dev_err(&pdev->dev, "Invalid temp-limit %d (must be between 40000 and 70000)\n",
>> temp_limits[i]);
>> temp_limits[0] = TEMP_LIMIT0_DEFAULT;
>> --
>> 2.24.1
>>
>
>
Powered by blists - more mailing lists