Patch "regulator: set of_node for qcom vbus regulator" has been added to the 5.9-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

    regulator: set of_node for qcom vbus regulator

to the 5.9-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:
     regulator-set-of_node-for-qcom-vbus-regulator.patch
and it can be found in the queue-5.9 subdirectory.

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



commit b15451ab3d7a7ad5878ad8307e6f6f52e9c5a0b3
Author: Jonathan Marek <jonathan@xxxxxxxx>
Date:   Tue Aug 18 12:25:08 2020 -0400

    regulator: set of_node for qcom vbus regulator
    
    [ Upstream commit 66c3b96a7bd042427d2e0eaa8704536828f8235f ]
    
    This allows the regulator to be found by devm_regulator_get().
    
    Fixes: 4fe66d5a62fb ("regulator: Add support for QCOM PMIC VBUS booster")
    
    Signed-off-by: Jonathan Marek <jonathan@xxxxxxxx>
    Link: https://lore.kernel.org/r/20200818162508.5246-1-jonathan@xxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/regulator/qcom_usb_vbus-regulator.c b/drivers/regulator/qcom_usb_vbus-regulator.c
index 8ba947f3585f5..457788b505720 100644
--- a/drivers/regulator/qcom_usb_vbus-regulator.c
+++ b/drivers/regulator/qcom_usb_vbus-regulator.c
@@ -63,6 +63,7 @@ static int qcom_usb_vbus_regulator_probe(struct platform_device *pdev)
 	qcom_usb_vbus_rdesc.enable_mask = OTG_EN;
 	config.dev = dev;
 	config.init_data = init_data;
+	config.of_node = dev->of_node;
 	config.regmap = regmap;
 
 	rdev = devm_regulator_register(dev, &qcom_usb_vbus_rdesc, &config);



[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