Patch "thermal/drivers/k3_j72xx_bandgap: Fix the debug print message" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    thermal/drivers/k3_j72xx_bandgap: Fix the debug print message

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     thermal-drivers-k3_j72xx_bandgap-fix-the-debug-print.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 4d14101c94464e1fa7aa23077810f6018d32dcfd
Author: Keerthy <j-keerthy@xxxxxx>
Date:   Mon Oct 10 09:11:26 2022 +0530

    thermal/drivers/k3_j72xx_bandgap: Fix the debug print message
    
    [ Upstream commit a7c42af78b19a11e98a5555a664c343e3a672632 ]
    
    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 <bb@xxxxxx>
    Signed-off-by: Keerthy <j-keerthy@xxxxxx>
    Link: https://lore.kernel.org/r/20221010034126.3550-1-j-keerthy@xxxxxx
    Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/thermal/k3_j72xx_bandgap.c b/drivers/thermal/k3_j72xx_bandgap.c
index 16b6bcf1bf4f..c073b1023bbe 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);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux