From patchwork Fri Dec 9 15:26:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thermal-bot for Julien Panis X-Patchwork-Id: 632791 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB506C3DA6D for ; Fri, 9 Dec 2022 15:27:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231143AbiLIP1D (ORCPT ); Fri, 9 Dec 2022 10:27:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230427AbiLIP0k (ORCPT ); Fri, 9 Dec 2022 10:26:40 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 615EA8F73A for ; Fri, 9 Dec 2022 07:26:34 -0800 (PST) Date: Fri, 09 Dec 2022 15:26:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670599591; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T14P9q04VmMxu/EEfvlHiAko6STCyXYU/6FDTqUIYQo=; b=sSP11xpBiMmmIDbfVY+OhvFPT9pd+7C1VjoOyTS2PeddnVFHExxhWrr6RbPeQQwWgKu2A3 Djqz+QRYIeJGQMfENo6a7XoQFPloTKJ3plLX0Ykjy3VGPQ9G23dQ967N9OrYYWirMieFCE 668ybkWllhW5CeLW/C4r1+m+xk3O36chXlnLkr9cdrCones0gaB7w4bM4CQyx1tzykEPUX ul0iEuIQw0HnBWbArElvUjjoe9+xEYnTUtA+ePhhGMCiZfW9kCV74vWDbHAu7+qZBocDjC UG0v0YW1squGHqesD1T17djORsTCFgTyjUAg/mN+uQoX0UW7Riaa48zgr+i4yA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670599591; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T14P9q04VmMxu/EEfvlHiAko6STCyXYU/6FDTqUIYQo=; b=VmhSQNjjqOh5BVEagwmJxqqmfd/WFqJkbTfzqu0FbhaS8KM+UQlyYQey/48tzzzFQ41G8d hz1umgG/+2ml9zCQ== From: "thermal-bot for Keerthy" Sender: tip-bot2@linutronix.de Reply-to: linux-pm@vger.kernel.org To: linux-pm@vger.kernel.org Subject: [thermal: thermal/next] thermal/drivers/k3_j72xx_bandgap: Fix the debug print message Cc: Bryan Brattlof , Keerthy , Daniel Lezcano , rui.zhang@intel.com, amitk@kernel.org In-Reply-To: <20221010034126.3550-1-j-keerthy@ti.com> References: <20221010034126.3550-1-j-keerthy@ti.com> MIME-Version: 1.0 Message-ID: <167059959114.4906.12982835997203907122.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The following commit has been merged into the thermal/next branch of thermal: Commit-ID: 94f26962392cac2f467744c11bf2aec9ea199cc9 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//94f26962392cac2f467744c11bf2aec9ea199cc9 Author: Keerthy AuthorDate: Mon, 10 Oct 2022 09:11:26 +05:30 Committer: Daniel Lezcano CommitterDate: Thu, 08 Dec 2022 14:30:43 +01:00 thermal/drivers/k3_j72xx_bandgap: Fix the debug print message The debug print message to check the workaround applicability is inverted. Fix the same. Fixes: ffcb2fc86eb7 ("thermal: k3_j72xx_bandgap: Add the bandgap driver support") Reported-by: Bryan Brattlof Signed-off-by: Keerthy Link: https://lore.kernel.org/r/20221010034126.3550-1-j-keerthy@ti.com Signed-off-by: Daniel Lezcano --- drivers/thermal/k3_j72xx_bandgap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/k3_j72xx_bandgap.c b/drivers/thermal/k3_j72xx_bandgap.c index 16b6bcf..c073b10 100644 --- a/drivers/thermal/k3_j72xx_bandgap.c +++ b/drivers/thermal/k3_j72xx_bandgap.c @@ -439,7 +439,7 @@ static int k3_j72xx_bandgap_probe(struct platform_device *pdev) workaround_needed = false; dev_dbg(bgp->dev, "Work around %sneeded\n", - workaround_needed ? "not " : ""); + workaround_needed ? "" : "not "); if (!workaround_needed) init_table(5, ref_table, golden_factors);