Commit 30916faa authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP4: Fix PMIC voltage domains for bionic

We are now registering the mpu domain three times instead of registering
mpu, core and iva domains like we should.

Fixes: d44fa156 ("ARM: OMAP2+: Configure voltage controller for cpcap")
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 4c9f4865
...@@ -246,10 +246,10 @@ int __init omap4_cpcap_init(void) ...@@ -246,10 +246,10 @@ int __init omap4_cpcap_init(void)
omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu); omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu);
if (of_machine_is_compatible("motorola,droid-bionic")) { if (of_machine_is_compatible("motorola,droid-bionic")) {
voltdm = voltdm_lookup("mpu"); voltdm = voltdm_lookup("core");
omap_voltage_register_pmic(voltdm, &omap_cpcap_core); omap_voltage_register_pmic(voltdm, &omap_cpcap_core);
voltdm = voltdm_lookup("mpu"); voltdm = voltdm_lookup("iva");
omap_voltage_register_pmic(voltdm, &omap_cpcap_iva); omap_voltage_register_pmic(voltdm, &omap_cpcap_iva);
} else { } else {
voltdm = voltdm_lookup("core"); voltdm = voltdm_lookup("core");
......
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