mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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: Juha Keski-Saari <ext-juha.1.keski-saari@nokia.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
parent
045f972f2c
commit
30010fa52c
1 changed files with 3 additions and 0 deletions
|
@ -576,6 +576,9 @@ static int twlreg_probe(struct platform_device *pdev)
|
|||
}
|
||||
platform_set_drvdata(pdev, rdev);
|
||||
|
||||
twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_REMAP,
|
||||
info->remap);
|
||||
|
||||
/* NOTE: many regulators support short-circuit IRQs (presentable
|
||||
* as REGULATOR_OVER_CURRENT notifications?) configured via:
|
||||
* - SC_CONFIG
|
||||
|
|
Loading…
Reference in a new issue