mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 04:47:05 +00:00
thermal/drivers/k3_j72xx_bandgap: Fix the debug print message
[ Upstream commita7c42af78b
] The debug print message to check the workaround applicability is inverted. Fix the same. Fixes:ffcb2fc86e
("thermal: k3_j72xx_bandgap: Add the bandgap driver support") Reported-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Link: https://lore.kernel.org/r/20221010034126.3550-1-j-keerthy@ti.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d30312b5e1
commit
51e583b885
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue