Skip to content

Commit d3499a8

Browse files
TomomsPixelBoot
authored andcommitted
power: Silence non-critical warnings about CPUs sleeping
* These spam the kernel log a lot, and they're not a symptom of malfunction. There's a patch that silences them properly, but it depends on the cpuhotplug stat machine, which does not exist in Linux 4.4. Change-Id: I6f3972282cc8ac3de037b18dabc0fb7e38568b34
1 parent 3ea113f commit d3499a8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/base/power/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ void device_pm_add(struct device *dev)
128128
dev->bus ? dev->bus->name : "No Bus", dev_name(dev));
129129
device_pm_check_callbacks(dev);
130130
mutex_lock(&dpm_list_mtx);
131+
#if 0
131132
if (dev->parent && dev->parent->power.is_prepared)
132133
dev_warn(dev, "parent %s should not be sleeping\n",
133134
dev_name(dev->parent));
135+
#endif
134136
list_add_tail(&dev->power.entry, &dpm_list);
135137
mutex_unlock(&dpm_list_mtx);
136138
}

0 commit comments

Comments
 (0)