Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i3c: dw: Initialize spinlock to avoid upsetting lockdep

The devs_lock spinlock introduced when adding support for ibi:s was
never initialized.

Fixes: e389b1d72a624 ("i3c: dw: Add support for in-band interrupts")
Suggested-by: Jani Nurminen <jani.nurminen@windriver.com>
Signed-off-by: Fredrik Markstrom <fredrik.markstrom@est.tech>
Reviewed-by: Ivar Holmqvist <ivar.holmqvist@est.tech>
Link: https://patch.msgid.link/20260116-i3c_dw_initialize_spinlock-v3-1-cf707b6ed75f@est.tech
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Fredrik Markstrom and committed by
Alexandre Belloni
b58eaa47 95cb1935

+2
+2
drivers/i3c/master/dw-i3c-master.c
··· 1612 1612 spin_lock_init(&master->xferqueue.lock); 1613 1613 INIT_LIST_HEAD(&master->xferqueue.list); 1614 1614 1615 + spin_lock_init(&master->devs_lock); 1616 + 1615 1617 writel(INTR_ALL, master->regs + INTR_STATUS); 1616 1618 irq = platform_get_irq(pdev, 0); 1617 1619 ret = devm_request_irq(&pdev->dev, irq,