diff -druNp --no-dereference linux-libre-5.5.12-gnu/drivers/base/core.c linux-libre-5.5.13-gnu/drivers/base/core.c
--- linux-libre-5.5.12-gnu/drivers/base/core.c	2020-03-25 03:27:11.000000000 -0400
+++ linux-libre-5.5.13-gnu/drivers/base/core.c	2020-03-25 11:10:18.000000000 -0400
@@ -718,6 +718,8 @@ static void __device_links_queue_sync_st
 {
 	struct device_link *link;
 
+	if (!dev_has_sync_state(dev))
+		return;
 	if (dev->state_synced)
 		return;
 
@@ -819,7 +821,7 @@ late_initcall(sync_state_resume_initcall
 
 static void __device_links_supplier_defer_sync(struct device *sup)
 {
-	if (list_empty(&sup->links.defer_sync))
+	if (list_empty(&sup->links.defer_sync) && dev_has_sync_state(sup))
 		list_add_tail(&sup->links.defer_sync, &deferred_sync);
 }
 
diff -druNp --no-dereference linux-libre-5.5.12-gnu/include/linux/device.h linux-libre-5.5.13-gnu/include/linux/device.h
--- linux-libre-5.5.12-gnu/include/linux/device.h	2020-03-25 03:27:11.000000000 -0400
+++ linux-libre-5.5.13-gnu/include/linux/device.h	2020-03-25 11:10:18.000000000 -0400
@@ -1522,6 +1522,17 @@ static inline struct device_node *dev_of
 
 void driver_init(void);
 
+static inline bool dev_has_sync_state(struct device *dev)
+{
+	if (!dev)
+		return false;
+	if (dev->driver && dev->driver->sync_state)
+		return true;
+	if (dev->bus && dev->bus->sync_state)
+		return true;
+	return false;
+}
+
 /*
  * High level routines for use by the bus drivers
  */
diff -druNp --no-dereference linux-libre-5.5.12-gnu/Makefile linux-libre-5.5.13-gnu/Makefile
--- linux-libre-5.5.12-gnu/Makefile	2020-03-25 07:51:08.000000000 -0400
+++ linux-libre-5.5.13-gnu/Makefile	2020-03-26 00:49:44.000000000 -0400
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 5
-SUBLEVEL = 12
+SUBLEVEL = 13
 EXTRAVERSION = -gnu
 NAME = Kleptomaniac Octopus
 
