Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp944860pxy; Wed, 28 Apr 2021 18:09:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbarIzVDA0NbbRzHfvXiOBWh+0XXUDCK+DQ2DEI53H7l1eQPgAe20an3YH1Qp99rZ57vet X-Received: by 2002:a17:906:4cc5:: with SMTP id q5mr32294124ejt.302.1619658589047; Wed, 28 Apr 2021 18:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619658589; cv=none; d=google.com; s=arc-20160816; b=EOUKjil3le83NaFZiY2CbyyVFx+tidAuA+4IE4qfyLYUo9ZxwVN67H4AfslnrRsSD8 p+Jj/uwlcRw7NjKL2/WFIlfrmE0CCAMsi0ER0q95TB+KCTCppG9xH8iJ87bM147bxrv8 ORUxiXwN5vAUIPhwFP/Zr2VgdYPMTPwWg2SAzar/b8bAt90RKY8zUMNl43A1Ym7aPhCF 0wSkoqE6/PandLXXRyXEX2Mk3AO6PSE/LPDlEd7v0lNqrQ0n/Ut5jNU/in5/E0nosrBT ewB1l1G1wf4ESLFRsJiiEW1lFuX1COiSqk5Tnb9J5rbkaGzV3s7mgFkG3CnwAsg2vCrj Mp3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=i3qk61v6/wN3MGlWoF+r4JwD22Y4XdPrwsgszsckLgU=; b=DBKUC1WnEsZ7FSbwpxjupQmJlQiXSWEKFjQ7V9WY2ixQaaG63tW7aEFmdpY5gNa8JO kXq8JMma/+YPMFKUjvdPEy8MCmNn6XxIzqROEYIdEamf65/HKtVrHZaMqF16n6S1rFoi RrvHHxXzFkKhxM/3blpTu9t30B+pgAlpqCpXlbxFW281Kbf1JndDCgBWLK+ZVX39Jy6P E9EDMIWwpsgPgDRSfpa7UcBmg7qeFvEzCx7AK11v8zSN3STScaA4zc1wT0yvFP5HKAqu dtDExu7Jzp5deHT9onSI0NBcRa5EUdECVqKqeRFbH/IpfnW3Prd+sV6lwvS4AJOcRL6E 7hvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jC7wpQgm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si1643031eje.44.2021.04.28.18.09.24; Wed, 28 Apr 2021 18:09:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jC7wpQgm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231400AbhD2BJU (ORCPT + 99 others); Wed, 28 Apr 2021 21:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbhD2BJU (ORCPT ); Wed, 28 Apr 2021 21:09:20 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B23FC06138B; Wed, 28 Apr 2021 18:08:34 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id mu3so6253867ejc.6; Wed, 28 Apr 2021 18:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=i3qk61v6/wN3MGlWoF+r4JwD22Y4XdPrwsgszsckLgU=; b=jC7wpQgmfQ5JUXQFCrctkS1fxj+Vj2en1tUWBDEBIcmLcA4VONXVsZUPESP5lJVJXc FSVcB/dBWvaA2THu4qghzHRd2unPdpB4K4IO1HYl1YovutjeN/nGKG/KpV4/d+z2B6L5 luC9IBEJMPlp4I0cmbgkAfoWonnpBDkXU2FloRS5b5XXvrJhCuqZgZqneEeIDynGlNlL C5EIN19egyCdzbP8Jwy/5Dnwgw5ihhdC6loy9KfS+DLHOJI1AmfvB/a4SRt0u1X7gLH6 ZgWazqlSS0q9mtXbGSghcKbcuZACvqAxRkjrXxVYZxxz797uaCX8xcGtSnKUPsxvfUnJ Pv0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=i3qk61v6/wN3MGlWoF+r4JwD22Y4XdPrwsgszsckLgU=; b=rcwUZ2eG8a0dGS6G081DChrgOdA5zLBn2ABlBBO6ajyU2Xe3s9pHJ2OM1Ggi23yBqF cXZivS4vTrUguwqxJetlsfU4HfhIxKDKdhtqu5VMmoddwL2LDq6d8LvVhEWhG/lLFxKv J/4Ky/N4ECuRufZDAmX8y4xv5SAGhZXe+Lok+TS9sPrd3JzTck7Nbvy/AJln9421AZ/p 3L/uTh/2L0AGjWj1kNqm0rcuYZwF2I16zP76MTDdeGlVgm2Py8upZ+ntVIqakrFXO6RI fYwTHKpW9HnzwL4YCwEVi0YcpGQjTTJb5o/+LuCmWMmjNBi9DMEMtvpfoNyFsGm9Y2Ik tXMg== X-Gm-Message-State: AOAM532yD1P7Pxh028lLOn36AN+fECjYbD5kLDK2en07wsa0PfwiyZZo g6Bxyr/8cSmllYxSSEg1c/TaqDvbfwZMMA== X-Received: by 2002:a17:906:b253:: with SMTP id ce19mr16957336ejb.531.1619658512946; Wed, 28 Apr 2021 18:08:32 -0700 (PDT) Received: from Ansuel-xps.localdomain (93-35-189-2.ip56.fastwebnet.it. [93.35.189.2]) by smtp.googlemail.com with ESMTPSA id d5sm1113398edt.49.2021.04.28.18.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 18:08:32 -0700 (PDT) From: Ansuel Smith To: Thara Gopinath Cc: Ansuel Smith , Andy Gross , Bjorn Andersson , Amit Kucheria , Zhang Rui , Daniel Lezcano , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] Minor fix for qcom tsens driver Date: Thu, 29 Apr 2021 03:05:16 +0200 Message-Id: <20210429010518.13319-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a small series to fix some warning arised testing the 8960 tsens driver. 8960 calibration function can return PROBE_DEFER and cause reregistration of debugfs. Move debugfs registration deeper in the probe function and fix a small problem with wrong tsens version reported. v2: - Address review comments from Thara Ansuel Smith (2): thermal: qcom: tsens: init debugfs only with successful probe thermal: qcom: tsens: simplify debugfs init function drivers/thermal/qcom/tsens.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) -- 2.30.2