Commit 30010fa5 authored by Juha Keski-Saari's avatar Juha Keski-Saari Committed by Liam Girdwood

twl-regulator: Restore REMAP configuration in regulator probe

This change ensures the regulator REMAP register configuration is in a known
state so state transitions will function as intended regardless of
possible bootloader effects on it
Signed-off-by: default avatarJuha Keski-Saari <ext-juha.1.keski-saari@nokia.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 045f972f
...@@ -576,6 +576,9 @@ static int twlreg_probe(struct platform_device *pdev) ...@@ -576,6 +576,9 @@ static int twlreg_probe(struct platform_device *pdev)
} }
platform_set_drvdata(pdev, rdev); platform_set_drvdata(pdev, rdev);
twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_REMAP,
info->remap);
/* NOTE: many regulators support short-circuit IRQs (presentable /* NOTE: many regulators support short-circuit IRQs (presentable
* as REGULATOR_OVER_CURRENT notifications?) configured via: * as REGULATOR_OVER_CURRENT notifications?) configured via:
* - SC_CONFIG * - SC_CONFIG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment