Regression in Linux next with show wakeup sources stats in sysfs

From: Tony Lindgren
Date: Wed Aug 14 2019 - 02:38:30 EST


Hi all,

Looks like commit 986845e747af ("PM / wakeup: Show wakeup sources stats
in sysfs") has caused a regression in Linux next where I can now get
some errors like this during the boot:

kobject_add_internal failed for wakeup10 (error: -2 parent: usb)

Any ideas why this might be happening? Maybe some deferred probe
related issue?

Regards,

Tony