Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp810050yba; Thu, 16 May 2019 09:13:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZmxARl89kW7RQOPoZm2Btnh3Mfq+b6ZahTAJhucGLf3PFgdcyOXwOd/KiHrd6Q1+KCiPA X-Received: by 2002:a17:902:b18c:: with SMTP id s12mr32644972plr.181.1558023225364; Thu, 16 May 2019 09:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558023225; cv=none; d=google.com; s=arc-20160816; b=BGSepr4yNq42hpenotEckF3SLacO+1Lmi39mwSskMzcs4G/2avFi5ymKeWkvoBRSz6 uqq497HYLIWDxqK8H/XPNqxFQgQu3idyZHHD6ZtvEqJrs3vus21QzjAZ6bfElIMOc6zs JuFOb8ybaG3oQjLff+5KW5NYo6I1jmSwIfaeHd9BR0CNMQnccHfyQmvSV7LakE9yIA+M 3qQAue1Gh1+ygC40oTzDM7kARKb5NMz1EPUdR4ty2p3oOJTOdXlqZSo9K95iFyeocbCT /sBDbYMK2F2Z4O/SGKOS15kxFxVAkr4p1u5eVhugexpTlce9KOU18ITonPM/8JG9z5oc A8FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=8zspTFAlDZkBwCW7bQexbj6+xiKPC4RzMkudFUc8b/0=; b=q6AMcTKKcelvueckpPkW4scqEEW2+I3FipNw0Ki021QARHSRTr5OwBIdo1mauHDw18 N9WlAEqLZxRDtUAx00ykZCr3xJdrVRr6/guqhxfh7h3Ox0N/+ESsQ9liY5PySjnpE1xB /igy1+dw0G5Mk0sQ1EVOhIdsdmB9aF3OM3WZjxCOyrkMNBLGUsOWZb6B7gucKiq0rUf0 ulY088AadzaPSHIlc79SGdjtB1bOEN8Gzbf1wasERevRfV9geRq3MLzdkP0I7qCPSlpu Wqm4g9dGgWSoR96wf9VUI+ZZ1LCwxK4Ty6DjhSECb8fx5j9qLHRfgBctHxsmfNAPN76k RnHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si5354606pgp.35.2019.05.16.09.13.30; Thu, 16 May 2019 09:13:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbfEPQL7 (ORCPT + 99 others); Thu, 16 May 2019 12:11:59 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:51275 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726464AbfEPQL6 (ORCPT ); Thu, 16 May 2019 12:11:58 -0400 Received: from [192.168.178.167] ([109.104.36.193]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MiJhW-1gn2TT1ffC-00fP2t; Thu, 16 May 2019 18:11:33 +0200 Subject: Re: [GIT PULL] Thermal-SoC management changes for v5.2-rc1 To: Linus Torvalds , Eduardo Valentin , Guenter Roeck Cc: Rui Zhang , ACPI Devel Maling List , Linux PM , LKML References: <20190516044313.GA17751@localhost.localdomain> From: Stefan Wahren Message-ID: <4803994d-f519-a6b6-f5bb-a2f50d91ecd7@i2se.com> Date: Thu, 16 May 2019 18:11:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:HfXg+VerHg3XpZ/wJRmyjEJyPoEOVangfVhRYd6re0+8tLoYnmn oW1tto1qS1QQOe7GOCE7EoevUdRqBEDQ///1l974DU6oDx8+IabIbaeHwU/cfjP4DjKA6Br iX868FUXz7c1nOxAIHoyQKpsGy9mRzS1My2eaC6up74sSVDaK/QmuAXrROr7bb8NTBl3wqX WwVEm4CNLpPMKwjYQor6A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:xkwv5xkBN+U=:bwfz0IV+WlLUs6KTbOUP5F m86RxkHI2Kj0QzfcXKAjfZ5U5Tv7ptnKNtgLYdvqIaRk+mynEvOkxWqy/MzaMhk2DxJ8qmr1i FBBq9iBvmcz6A0jmH8HHgyLkeFMI4b1ivawHRk9zA+MuopGSHO7SdkTaytpD95zlyhTHG7ZDQ ucuLHN5pnxVV68A4Nmp9c0lUFiAVLgEK+i/F2C3PPpQ0XCvarGXzmUjPrxOHJqU2QX6PvWsGX 7Q9b4MC3s9hQr7h6v0tAOK3o6Rmu+Uhgbp2eEQrGQ8hdzl6K99Bznt7mBbvxE1z2aXy5hPFUb OV9sLFfI8Kx69V1noe0ltzTDcdPaH2a+ggeMHMgiSZZ9xquruK+FaGafE4VQTIudsJH48+EIl rSt1kfKbUf/shkzxbsBa/sbVRmRUl1D+AK66qqyVbU/BiLoaN6Qynfy/xLAcuVSILSJOY4dbR 7JdgG3YikQQCtVEL1l6/s9BDOO7LESCW0XUCY5LGG+iLrAm3N4R0kYfYfuwW78nhncv8jtp0m sr0lIxldMQxoJvNbROex1vVUYSmoQEQq79zvls/eFyz56tPHv1DY/EovlT4wMNQR251Wjy0dG T1UGNyfAZBE26//8UjJj16wsHH76ZeD17CE+X5ynrrYrtdL0Z6By2LMrwezH072eTf80EEZWU rBOygeHEXUARE33jk7VUERqnLNl4Jm54LKIwbG4Djr1MUF7bzT0Q+/QXFtbrCrW1zLGjwZy74 f9Pte2LM5Iz96JyVVZepWzFQnZb4JJPFlHnxWCJVjG0cTnXW3KZNh+p2ZO8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On 16.05.19 17:07, Linus Torvalds wrote: > On Wed, May 15, 2019 at 9:43 PM Eduardo Valentin wrote: >> - thermal core has a new devm_* API for registering cooling devices, thanks to Guenter R. >> I took the entire series, that is why you see changes on drivers/hwmon in this pull. > This clashed badly with commit 6b1ec4789fb1 ("hwmon: (pwm-fan) Add RPM > support via external interrupt"), which added a timer to the pwm-fan > handling. > > In particular, that timer now needed the same kind of cleanup changes, > and I'd like you guys (particularly Guenther, who was involved on both > sides) to double-check my merge. > > The way I solved it was to just make the pwm_fan_pwm_disable() > callback do both the pwm_diable() _and_ the del_timer_sync() on the > new timer. That seemed to be the simplest solution that meshed with > the new devm cleanup model, but while I build-tested the result, I > obviously did no actual use testing. And maybe there's some reason why > that approach is flawed. i will try to test on our custom i.MX6 board. Unfortunately this take some time since it isn't mainline yet (at least until tomorrow). Stefan > > Guenther? > > Linus