We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba015ff commit 8442d28Copy full SHA for 8442d28
drivers/pmdomain/apple/pmp-report.c
@@ -157,8 +157,11 @@ static int apple_pmp_report_entry_probe(struct platform_device *pdev)
157
if (ret < 0)
158
return dev_err_probe(dev, ret, "missing label property\n");
159
160
- if (of_property_read_bool(node, "apple,always-on"))
+ if (of_property_read_bool(node, "apple,always-on")) {
161
ent->genpd.flags |= GENPD_FLAG_ACTIVE_WAKEUP;
162
+ apple_pmp_report_set_state(&ent->genpd, true);
163
+ }
164
+
165
ent->genpd.name = name;
166
ent->genpd.power_on = apple_pmp_report_entry_power_on;
167
ent->genpd.power_off = apple_pmp_report_entry_power_off;
0 commit comments