Loading arch/arm/mach-msm/spm_devices.c +4 −1 Original line number Diff line number Diff line Loading @@ -82,12 +82,14 @@ int msm_spm_set_vdd(unsigned int cpu, unsigned int vlevel) { struct msm_spm_vdd_info info; int ret; int current_cpu; info.cpu = cpu; info.vlevel = vlevel; info.err = -ENODEV; if (!msm_spm_L2_apcs_master && (smp_processor_id() != cpu) && current_cpu = get_cpu(); if (!msm_spm_L2_apcs_master && (current_cpu != cpu) && cpu_online(cpu)) { /** * We do not want to set the voltage of another core from Loading @@ -109,6 +111,7 @@ int msm_spm_set_vdd(unsigned int cpu, unsigned int vlevel) msm_spm_smp_set_vdd(&info); ret = info.err; } put_cpu(); return ret; } Loading Loading
arch/arm/mach-msm/spm_devices.c +4 −1 Original line number Diff line number Diff line Loading @@ -82,12 +82,14 @@ int msm_spm_set_vdd(unsigned int cpu, unsigned int vlevel) { struct msm_spm_vdd_info info; int ret; int current_cpu; info.cpu = cpu; info.vlevel = vlevel; info.err = -ENODEV; if (!msm_spm_L2_apcs_master && (smp_processor_id() != cpu) && current_cpu = get_cpu(); if (!msm_spm_L2_apcs_master && (current_cpu != cpu) && cpu_online(cpu)) { /** * We do not want to set the voltage of another core from Loading @@ -109,6 +111,7 @@ int msm_spm_set_vdd(unsigned int cpu, unsigned int vlevel) msm_spm_smp_set_vdd(&info); ret = info.err; } put_cpu(); return ret; } Loading