regulator: Revert "regulator: pfuze100: add enable/disable for switch"
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 2 Jul 2018 01:18:27 +0000 (22:18 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 2 Jul 2018 09:51:38 +0000 (10:51 +0100)
commit464a5686e6c9df364fbfa9a6d0f61276a777d550
tree5549ba1cd8cb00a75267581d0283f67fa7b65204
parent312ae0ae7479d30f8876bafbc4cca24f0605c65f
regulator: Revert "regulator: pfuze100: add enable/disable for switch"

This reverts commit 5fe156f1cab4f340ddb6283c993912be77594016.

Commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch")
causes boot regression on some platforms such as imx6sl-evk and
imx6sll-evk.

After this commit the SW4 regulator will be turned
off and since it supplies the DDR voltage on these boards, a
kernel hang is observed.

Revert it to avoid breaking old dtb's.

Fixes: 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch")
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pfuze100-regulator.c