Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9247522rwl; Wed, 11 Jan 2023 03:29:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXvQ/zLSk8CmTiyvguggI/acAOLVo7MbCf8fxjeXFydyEp/0ovsgbR8DcjIF40ZzXmLhZD9K X-Received: by 2002:a17:902:bd0a:b0:192:fe0a:11c8 with SMTP id p10-20020a170902bd0a00b00192fe0a11c8mr20809161pls.46.1673436560744; Wed, 11 Jan 2023 03:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673436560; cv=none; d=google.com; s=arc-20160816; b=Llg488ciHPW3o+wbiuWeiplWgNiEzgS+rUkKyolYtUbCZ7It+33fx/gTC66PYXwW9u HLymrQTEsaYMIyv0pMIKTuzaeBoNCt+yAanVYd7+cw1C2+B0d29JYMKTPA7gm6y3YfjM BjRarupwSetlGaP3GrqA6c141abi7j/nfjDqeAwCFmE1GPAeAgC9YZNg7AHyHcGFLH1E OdOYkBFWXSLcpkfvp9y7MqbPLVWB+0KVDs8W7yomMTxOy8v2vBnhptEnuc0a51oanVw0 snKK8kBsOtGV6zlTr9slKPHU+hzL33SBYRacwESD8FpJlvkT6SWFKQQxocDCbBpPEszW h45w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qbdDKI4Ey6JY+q0XVlpG88pauoONaYof/XvXYc94UzA=; b=tQYqA9iT1Ob7vKPS3mAjENnp8Z9oGThiEA6bT6hDt2zW9HGyqAGpIhbJHJyr6xMU8W sNNoMbQrdcPkM6hNaWXWfbdFvEi7LMI1eXilI8PnEvC0s9zkylkb059trjFxknGD4nV0 Q70HiA/5SsN27YkKbageiL/YMqDYnSMfByxDEySOcp9FdiPTzPWVvzDnutGxzHtB91qf eqw5gbnrhpBFf12Mt77Wr3aIwBiPPf6I6q5IqQV12+tEbSvkEMInTytJPXgsm9h26Nfw oIAPng2lOHBOrOnYq1TjZ70jdoor9qOuNHIC+26S2vVPmK1B0c2tihSM+5bmdyki1HU5 MOyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Qhw27iT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a19-20020a656553000000b00439f026cf5dsi13525996pgw.612.2023.01.11.03.29.14; Wed, 11 Jan 2023 03:29:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Qhw27iT/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232520AbjAKLZj (ORCPT + 53 others); Wed, 11 Jan 2023 06:25:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233489AbjAKLZC (ORCPT ); Wed, 11 Jan 2023 06:25:02 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B43249F for ; Wed, 11 Jan 2023 03:25:01 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id e3so5484370wru.13 for ; Wed, 11 Jan 2023 03:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qbdDKI4Ey6JY+q0XVlpG88pauoONaYof/XvXYc94UzA=; b=Qhw27iT/0tu/MU2cQXm2Dr6zbSB2A3n5D989VL7VYjalRm1qn5xDYtaN9B+c5b6Hm+ K0qEVuZubWBPIcqPkvyvmdi11MhcjWkQ2Xo1N1fVK/XfdPZ8cqYcGvjUzE7oht1/Uwt2 nc3t/s0O0DpjCietGC8WAYerFzWjjr7IxgndJbu993xkE29Y9HmZ630ur4auKA9K8ozL WrbeJIOv0urwLcFvMNKe4s8rOsEjL7C5CVgnazM9yTNuuZCkKHnsss5O0mUuUSQEa+4A D6sqEjQ73+Bh2zmdJCwE8iBFCxwIC/DodX518Q3mxomziX5LCuewJaHxwAKa+vJsCnjB j+1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qbdDKI4Ey6JY+q0XVlpG88pauoONaYof/XvXYc94UzA=; b=g3xLknAjnN/9TV32lnOz/LeqroDXOhLyi1kPYBkgDJgknkPTIA+MAUZ1AMKaIH09fS j//adLIpd/76+ahgs20VRKR4UmRP+abUf1JvdLC0x15E2vacmUoKevV6wPI0eyU7DzKo D+3YjQJIUAfpZbVFdPAzfcOO87WiQzF+XJEpACW6aYRc3RZXtuEbx5RVI7Esm+CH7WDn CaXifI6X6a0GtZYxWMYwoDvhjD90gdJqKTt56SmfEfCnop2BwsOInmHTCWTpNMY3O/6F NM/BLXUyTYIXirQJVGkq5oSAgQ1E7BpaEh5dENGXKYXGytyJQk7LQsIbIWUe4cUpiUyx z83A== X-Gm-Message-State: AFqh2kpR2z0+xW+H543M6Z4h9hO5qOWXdcj3jHeixH4NMk/FNGjDqWV5 Rqn6JtpXPMg87GUa6n+SWUyc5g== X-Received: by 2002:adf:dc81:0:b0:293:fff0:63b3 with SMTP id r1-20020adfdc81000000b00293fff063b3mr24022963wrj.4.1673436300202; Wed, 11 Jan 2023 03:25:00 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id q16-20020adff950000000b002bcaa47bf78sm4253734wrr.26.2023.01.11.03.24.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Jan 2023 03:24:59 -0800 (PST) Message-ID: Date: Wed, 11 Jan 2023 12:24:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] thermal/drivers/qcom: Remove duplicate set next trip point interrupt code Content-Language: en-US To: Bjorn Andersson Cc: rafael@kernel.org, dmitry.baryshkov@linaro.org, konrad.dybcio@linaro.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Amit Kucheria , Thara Gopinath , Andy Gross , Zhang Rui , open list References: <20230110103420.2430518-1-daniel.lezcano@kernel.org> <20230110181328.el2kicyrg2j554c2@builder.lan> From: Daniel Lezcano In-Reply-To: <20230110181328.el2kicyrg2j554c2@builder.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/01/2023 19:13, Bjorn Andersson wrote: > On Tue, Jan 10, 2023 at 11:34:20AM +0100, Daniel Lezcano wrote: >> From: Daniel Lezcano >> >> The tsens driver reprogram the next trip points in the irq >> handler. This function then call thermal_zone_device_update(). >> >> However, thermal_zone_device_update() calls thermal_zone_set_trips() >> and from there it calls the backend 'set_trips' ops. This one in turn >> reprogram the next trip points (low/high). >> >> Consequently, the code setting the next trip points interrupt in the >> interrupt handle is not needed and could be removed. >> > > > Reviewed-by: Bjorn Andersson > >> Signed-off-by: Daniel Lezcano >> Signed-off-by: Daniel Lezcano > > The last one should be the address you sent your patch from, and that > was the first one. So I think you should drop this one. Thanks for the review. I'll remove the duplicated SoB. -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog