Patch "Revert "mfd: axp20x: Allow multiple regulators"" has been added to the 6.13-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

    Revert "mfd: axp20x: Allow multiple regulators"

to the 6.13-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:
     revert-mfd-axp20x-allow-multiple-regulators.patch
and it can be found in the queue-6.13 subdirectory.

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



commit fa4b5362220350f22cc67072848bda63d3fc3bd3
Author: Andre Przywara <andre.przywara@xxxxxxx>
Date:   Wed Jan 8 16:43:59 2025 +0000

    Revert "mfd: axp20x: Allow multiple regulators"
    
    [ Upstream commit b246bd32a34c1b0d80670e60e4e4102be6366191 ]
    
    As Chris and Vasily reported, the attempt to support multiple AXP PMICs
    in one system [1] breaks some of the battery and charging functionality
    on devices with AXP PMICs. The reason is that the drivers now fail to get
    the correct IIO channel for the ADC component, as the current code seems
    to rely on the zero-based enumeration of the regulator devices.
    A fix is possible, but not trivial, as it requires some rework in the AXP
    MFD driver, which cannot be fully reviewed or tested in time for the
    6.13 release.
    
    So revert this patch for now, to avoid regressions on battery powered
    devices. This patch was really only necessary for devices with two
    PMICs, support for which is not mainline yet anyway, so we don't lose
    any functionality.
    
    This reverts commit e37ec32188701efa01455b9be42a392adab06ce4.
    
    [1] https://lore.kernel.org/linux-sunxi/20241007001408.27249-4-andre.przywara@xxxxxxx/
    
    Reported-by: Chris Morgan <macroalpha82@xxxxxxxxx>
    Closes: https://lore.kernel.org/linux-sunxi/675489c1.050a0220.8d73f.6e90@xxxxxxxxxxxxx/
    Reported-by: Vasily Khoruzhick <anarsoul@xxxxxxxxx>
    Closes: https://lore.kernel.org/linux-sunxi/CA+E=qVf8_9gn0y=mcdKXvj2PFoHT2eF+JN=CmtTNdRGaSnpgKg@xxxxxxxxxxxxxx/
    Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
    Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>
    Link: https://lore.kernel.org/r/20250108164359.2609078-1-andre.przywara@xxxxxxx
    Signed-off-by: Lee Jones <lee@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index 251465a656d09..bce85a58944ac 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -1445,7 +1445,7 @@ int axp20x_device_probe(struct axp20x_dev *axp20x)
 		}
 	}
 
-	ret = mfd_add_devices(axp20x->dev, PLATFORM_DEVID_AUTO, axp20x->cells,
+	ret = mfd_add_devices(axp20x->dev, PLATFORM_DEVID_NONE, axp20x->cells,
 			      axp20x->nr_cells, NULL, 0, NULL);
 
 	if (ret) {




[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