Patch "regulator: anatop: set default voltage selector for pcie" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
regulator: anatop: set default voltage selector for pcie
to the 4.4-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-anatop-set-default-voltage-selector-for-pcie.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Mar 22 14:57:32 CET 2018
From: Dong Aisheng <[email protected]>
Date: Wed, 12 Apr 2017 09:58:47 +0800
Subject: regulator: anatop: set default voltage selector for pcie
From: Dong Aisheng <[email protected]>
[ Upstream commit 9bf944548169f6153c3d3778cf983cb5db251a0e ]
Set the initial voltage selector for vddpcie in case it's disabled by default.
This fixes the below warning:
20c8000.anatop:regulator-vddpcie: Failed to read a valid default voltage selector.anatop_regulator: probe of 20c8000.anatop:regulator-vddpcie failed with error -22
--- drivers/regulator/anatop-regulator.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/regulator/anatop-regulator.c +5 -0
@@ -296,6 +296,11 @@ static int anatop_regulator_probe(structif (!sreg->sel && !strcmp (sreg->name,"vddpu" )) sreg->sel =22 ; +/* set the default voltage of the pcie phy to be 1.100v */ +if (!sreg->sel && rdesc->name && + !strcmp (rdesc->name,"vddpcie" )) + sreg->sel =0x10 ; +if (!sreg->bypass && !sreg->sel) {dev_err (&pdev->dev,"Failed to read a valid default voltage selector.\n" );return -EINVAL ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/regulator-anatop-set-default-voltage-selector-for-pcie.patch