diff options
author | Olof Johansson <olof@lixom.net> | 2015-10-23 09:57:16 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-10-23 09:57:24 -0700 |
commit | 056a72a5597e0f3e06260d0b21feb99296f77427 (patch) | |
tree | 84a5f6db92903ad2e370217f2c3c122c66fec266 /drivers/firmware | |
parent | 825294cded91f3df99af864e4a67664cd1ccf911 (diff) | |
parent | 79b04beb1e0ac7754e667f0aa47b57a197dc343a (diff) | |
download | op-kernel-dev-056a72a5597e0f3e06260d0b21feb99296f77427.zip op-kernel-dev-056a72a5597e0f3e06260d0b21feb99296f77427.tar.gz |
Merge branch 'drivers/psci2' into next/drivers
* drivers/psci2:
drivers: psci: make PSCI 1.0 functions initialization version dependent
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/psci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index 492db42..d24f35d 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -347,9 +347,10 @@ static int __init psci_probe(void) psci_init_migrate(); - psci_init_cpu_suspend(); - - psci_init_system_suspend(); + if (PSCI_VERSION_MAJOR(ver) >= 1) { + psci_init_cpu_suspend(); + psci_init_system_suspend(); + } return 0; } |