summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2021-08-18 09:42:11 +0000
committerAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2021-08-18 09:42:11 +0000
commiteb3365561ffe384772c58c40a0a8f24ab796dd41 (patch)
tree9610cb64b16d991a99558b97bc8c1113c3095914 /drivers/base
parenta5b253b55d22f8845a6450001c408d93c8baeeeb (diff)
parentc15b830f7c1cafd34035a46485716933f66ab753 (diff)
Merge tag 'v5.4.142' into 5.4-2.3.x-imx
This is the 5.4.142 stable release Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'drivers/base')
-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 1768c367e035..dcdbf3fa3222 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -1764,6 +1764,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);