[PATCH v7 1/7] qcom: spm: Add Subsystem Power Manager driver

Pramod Gurav
2014-09-27T08:07:46Z

On 27-09-2014 06:28 AM, Lina Iyer wrote:
> Based on work by many authors, available at codeaurora.org
>

..

> +int qcom_spm_set_low_power_mode(enum spm_mode mode)
> +{
> + struct spm_driver_data *drv = &__get_cpu_var(cpu_spm_drv);
> + u32 start_addr = 0;
initialization not necessary.

> + u32 ctl_val;
> +
> + if (!drv || !drv->reg_data)

..

> +#endif /* __QCOM_SPM_H */
>