Re: [PATCH V2] (gpio-fan): Add thermal control hooks

From: Guenter Roeck
Date: Tue Mar 03 2015 - 12:32:43 EST


On 03/03/2015 09:09 AM, Nishanth Menon wrote:
On 02/24/2015 02:06 PM, Nishanth Menon wrote:
On Tue, Feb 24, 2015 at 1:55 PM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
On Tue, Feb 24, 2015 at 03:29:35PM -0400, Eduardo Valentin wrote:
Guenter,

On Thu, Jan 08, 2015 at 08:48:40PM -0800, Guenter Roeck wrote:
On 01/08/2015 10:05 AM, Nishanth Menon wrote:
Allow gpio-fan to be used as thermal cooling device for platforms that
use GPIO maps to control fans.

As part of this change, we make the shutdown and remove logic the same
as well.

Signed-off-by: Nishanth Menon <nm@xxxxxx>
---

Applied to -next.

What is the target kernel version for this change? It didn't make
4.0-rc1

If I recall correctly, I had to pull it because the thermal framework
does not provide hooks if disabled. Weird, I am sure I sent an e-mail
about this, but I don't find it right now.

It can't make it in before the hooks are in place, or we'll need
another version with ifdefs around the thermal registration code.

I had posted the required hooks.
https://patchwork.kernel.org/patch/5828261/ -> I think Eduardo picked
this one up.. So once it hits mainline, we should ideally be clear.

merged as 12ca7188468ee29c4e717f73db4bf43c90954fc7 upstream. Can we
pick up this patch now?


Done, currently testing. Should make its way into -next in a couple of days
unless there are unexpected problems.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/