Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1584548

Re: [PATCH] thermal: mt8173: minor mtk_thermal.c cleanups

Path csiph.com!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news.szaf.org!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From Matthias Brugger <matthias.bgg@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] thermal: mt8173: minor mtk_thermal.c cleanups
Date Mon, 20 Feb 2017 12:40:01 +0100
Message-ID <tcUtX-453-11@gated-at.bofh.it> (permalink)
References <t8t90-4vJ-3@gated-at.bofh.it> <t94rT-2U0-19@gated-at.bofh.it> <takNX-1Fl-5@gated-at.bofh.it> <tcou6-WI-3@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=XpGq3uR++VzBCXyfLxupz6q/5sMCdRrSQpp2NVyq5+o=; b=Is3YvoZgdGAMGC9xO4ujInfhAON+GNLGfS41nXf+eLrG5UzglFfrfJWOc9rQN+aP3H pdx1GETNx200wVyy2JNleIjOUjw8wO6OncTeWmnFh3TrNyAlpEOlqYqvxyUNOCFdaa8t 7wbibjZjm2xLy1iTJ27fOSCXUotn19r8P5h3U68j53Xjrv6fCo5JKsGbVL1LZhqyhhRV /hgjGe0IQKWPLfpqnmI1w57gly4XPfzLQB9GvTqbN9a1GddzoBIrnCj/2zmUW0gSx2qf iA6W07YnyzUQgDmM+bBpRg3bT78uefFBsAYVec3n/nHj1dDW/HAuYZgVlzTE/uHgM3rK yh0w==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=XpGq3uR++VzBCXyfLxupz6q/5sMCdRrSQpp2NVyq5+o=; b=MrXnGrRjjD2LehB2RoOqaRubq4XlJ7AoOocN2D6rEfKJtlnqL5RCFh8Ongome7On5w f03nwTSlM+3Nsa7RxGucDZ0QodToUGsyHijDPvkKU5YbPkqsqWAws+J7ls5bjaWfETMM qN1fLxneihLHidFxiuzPI1jGFuOv2wWQ6Mkug7MuHiqt5HsrpK9GmbMyn4pTfkh7fZqf ++oHrDzyzqLM6dtiYh+3NVa3oONeYalkoUyR+H18ghevZVkxLKY2IZwM65fXFrsY6se5 CQLGGex8vC3+Axpq/idxs2iuAzJ2BKfXYHZHnqxsStmM04IPrcGHN/EDejs2+ivJOMnp O3sQ==
X-Gm-Message-State AMke39l/crVQjjl6hXEfYojNGjGmVToFIxFVlh6CvWonpe8cuTox+ZvnWv0INjC+cJQQ1A==
X-Received by 10.223.131.133 with SMTP id 5mr13318344wre.129.1487590246770; Mon, 20 Feb 2017 03:30:46 -0800 (PST)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 43
Organization linux.* mail to news gateway
X-Original-Cc Zhang Rui <rui.zhang@intel.com>, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Russell King <linux@armlinux.org.uk>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, Sascha Hauer <kernel@pengutronix.de>, Fan Chen <fan.chen@mediatek.com>, Eddie Huang <eddie.huang@mediatek.com>, Yingjoe Chen <yingjoe.chen@mediatek.com>, Erin Lo <erin.lo@mediatek.com>
X-Original-Date Mon, 20 Feb 2017 12:30:44 +0100
X-Original-Message-ID <46d6c448-a669-a748-acfa-8ed129c65b51@gmail.com>
X-Original-References <1486531862-31945-1-git-send-email-dawei.chien@mediatek.com> <ebdf54af-6290-9654-c475-53dd580582a0@gmail.com> <1486976518.24087.7.camel@mtksdaap41> <20170219012306.GA28525@localhost.localdomain>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1584548

Show key headers only | View raw



On 19/02/17 02:23, Eduardo Valentin wrote:
> On Mon, Feb 13, 2017 at 05:01:58PM +0800, Dawei Chien wrote:
>> Hi, Matthias,
>>
>> On Thu, 2017-02-09 at 22:25 +0100, Matthias Brugger wrote:
>>>
>>> On 02/08/2017 06:31 AM, Dawei Chien wrote:
>>>> Thermal driver should read TEMP_MSR3 if thermal bank with 4 sensors.
>>>> However, Currently thermal driver don't need read TEMP_MSR3 since
>>>> thermal controller only use 3 sensors for each thermal bank.
>>>>
>>>> Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
>>>> ---
>>>
>>> Actually the commit message should state:
>>> Fixes: b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.")
>>>
>>> ...and get backported to v4.9 and v4.10.
>>>
>>> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
>>>
>>> Regards,
>>> Matthias
>>
>> Thank you for your review. I would add below commit message on next
>> version. However, currently 8173 thermal driver would not read TEMP_MSR3
>> since thermal driver only use 3 sensors on each bank, this patch would
>> not effect temperature.
>> Only if thermal driver use 4 sensors on any thermal bank, would read
>> third sensor two times, and lose fourth sensor of vale.
>> Fixes: b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.")
>>
>
> Please send a new version with the tag in the commit message.
>

And don't forget to add stable@vger.kernel.org so that the fix ends up 
in the older kernels as well.

Regards,
Matthias

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH] thermal: mt8173: minor mtk_thermal.c cleanups Eduardo Valentin <edubezval@gmail.com> - 2017-02-19 02:30 +0100
  Re: [PATCH] thermal: mt8173: minor mtk_thermal.c cleanups Matthias Brugger <matthias.bgg@gmail.com> - 2017-02-20 12:40 +0100

csiph-web