summaryrefslogtreecommitdiff
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-16 09:04:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-16 09:04:28 +0200
commit2dec48c32a349e51920b6a53b464982db4ed1563 (patch)
tree2b9cccff8a823d9c6c1a06865f788b183f72d48f /drivers/base/core.c
parentcea45a3bd2dd4d9c35581328f571afd32b3c9f48 (diff)
parent7c60610d476766e128cc4284bb6349732cbd6606 (diff)
Merge 5.14-rc6 into usb-next
We need the USB fix in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r--drivers/base/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index f6360490a4a3..6c0ef9d55a34 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -2837,6 +2837,7 @@ void device_initialize(struct device *dev)
device_pm_init(dev);
set_dev_node(dev, -1);
#ifdef CONFIG_GENERIC_MSI_IRQ
+ raw_spin_lock_init(&dev->msi_lock);
INIT_LIST_HEAD(&dev->msi_list);
#endif
INIT_LIST_HEAD(&dev->links.consumers);