MLK-11561-2 regulator: anatop: set default voltage selector for pcie
authorRichard Zhu <Richard.Zhu@freescale.com>
Tue, 15 Sep 2015 06:27:00 +0000 (14:27 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:40 +0000 (14:48 -0500)
commit5511c90d0c571cb848360eecf5a341d7f1e7d269
tree32439386880c0ebe3b9b94cd6e1a234b9e87d2a9
parentb8f1a34f8bc2cdc818c96f44c6583b5b56129ac8
MLK-11561-2 regulator: anatop: set default voltage selector for pcie

The code reads the default voltage selector from its register.
If the default voltage selector is 0 which results in faulty
behaviour of this regulator driver.

This patch sets a default voltage selector for vddpcie-phy if
it is not set in the register.

Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
drivers/regulator/anatop-regulator.c