Commit a7c42af7 authored by Keerthy's avatar Keerthy Committed by Daniel Lezcano

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: ffcb2fc8 ("thermal: k3_j72xx_bandgap: Add the bandgap driver support")
Reported-by: default avatarBryan Brattlof <bb@ti.com>
Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Link: https://lore.kernel.org/r/20221010034126.3550-1-j-keerthy@ti.comSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 87f9fe8c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment