Release 4.11 arch/arm/mach-tango/pm.c
#include <linux/init.h>
#include <linux/suspend.h>
#include <asm/suspend.h>
#include "smc.h"
static int tango_pm_powerdown(unsigned long arg)
{
tango_suspend(__pa_symbol(cpu_resume));
return -EIO; /* tango_suspend has failed */
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Marc Gonzalez | 22 | 95.65% | 1 | 50.00% |
Florian Fainelli | 1 | 4.35% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
static int tango_pm_enter(suspend_state_t state)
{
if (state == PM_SUSPEND_MEM)
return cpu_suspend(0, tango_pm_powerdown);
return -EINVAL;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Marc Gonzalez | 27 | 100.00% | 1 | 100.00% |
Total | 27 | 100.00% | 1 | 100.00% |
static const struct platform_suspend_ops tango_pm_ops = {
.enter = tango_pm_enter,
.valid = suspend_valid_only_mem,
};
static int __init tango_pm_init(void)
{
suspend_set_ops(&tango_pm_ops);
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Marc Gonzalez | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
late_initcall(tango_pm_init);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Marc Gonzalez | 102 | 99.03% | 1 | 50.00% |
Florian Fainelli | 1 | 0.97% | 1 | 50.00% |
Total | 103 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.