Skip to content

Commit 8442d28

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
fixup! soc: apple: Add support for the PMP co-processor
1 parent ba015ff commit 8442d28

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/pmdomain/apple/pmp-report.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,11 @@ static int apple_pmp_report_entry_probe(struct platform_device *pdev)
157157
if (ret < 0)
158158
return dev_err_probe(dev, ret, "missing label property\n");
159159

160-
if (of_property_read_bool(node, "apple,always-on"))
160+
if (of_property_read_bool(node, "apple,always-on")) {
161161
ent->genpd.flags |= GENPD_FLAG_ACTIVE_WAKEUP;
162+
apple_pmp_report_set_state(&ent->genpd, true);
163+
}
164+
162165
ent->genpd.name = name;
163166
ent->genpd.power_on = apple_pmp_report_entry_power_on;
164167
ent->genpd.power_off = apple_pmp_report_entry_power_off;

0 commit comments

Comments
 (0)