Patch "power: supply: mt6360_charger: Fix of_match for usb-otg-vbus regulator" 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

    power: supply: mt6360_charger: Fix of_match for usb-otg-vbus regulator

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:
     power-supply-mt6360_charger-fix-of_match-for-usb-otg.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 0e9a12dd4eb10d7a473bec5bd3527566c3af8b12
Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
Date:   Wed Apr 10 10:44:05 2024 +0200

    power: supply: mt6360_charger: Fix of_match for usb-otg-vbus regulator
    
    [ Upstream commit 1e0fb113646182e073539db96016b00cfeb18ecc ]
    
    The of_match shall correspond to the name of the regulator subnode,
    or the deprecated `regulator-compatible` property must be used:
    failing to do so, the regulator won't probe (and the driver will
    as well not probe).
    
    Since the devicetree binding for this driver is actually correct
    and wants DTs to use the "usb-otg-vbus-regulator" subnode name,
    fix this driver by aligning the `of_match` string to what the DT
    binding wants.
    
    Fixes: 0402e8ebb8b8 ("power: supply: mt6360_charger: add MT6360 charger support")
    Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
    Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20240410084405.1389378-1-angelogioacchino.delregno@xxxxxxxxxxxxx
    Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/power/supply/mt6360_charger.c b/drivers/power/supply/mt6360_charger.c
index f1248faf59058..383bf19819dfb 100644
--- a/drivers/power/supply/mt6360_charger.c
+++ b/drivers/power/supply/mt6360_charger.c
@@ -591,7 +591,7 @@ static const struct regulator_ops mt6360_chg_otg_ops = {
 };
 
 static const struct regulator_desc mt6360_otg_rdesc = {
-	.of_match = "usb-otg-vbus",
+	.of_match = "usb-otg-vbus-regulator",
 	.name = "usb-otg-vbus",
 	.ops = &mt6360_chg_otg_ops,
 	.owner = THIS_MODULE,




[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