linux-sg2042/drivers/i3c/master
Jisheng Zhang f36c1f9a8d i3c: master: dw: fix deadlock
In dw_i3c_master_irq_handler(), we already have gotten
&master->xferqueue.lock, if we try to get the same lock again in
dw_i3c_master_dequeue_xfer(), deadlock happens.

We fix this issue by introduing dw_i3c_master_dequeue_xfer_locked()
which does all what dw_i3c_master_dequeue_xfer() does without trying
to lock &master->xferqueue.lock.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Vitor Soares <vitor.soares@synopsys.com>
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
2019-01-26 11:14:25 +01:00
..
Kconfig i3c: master: Add driver for Synopsys DesignWare IP 2018-12-05 17:22:58 +01:00
Makefile i3c: master: Add driver for Synopsys DesignWare IP 2018-12-05 17:22:58 +01:00
dw-i3c-master.c i3c: master: dw: fix deadlock 2019-01-26 11:14:25 +01:00
i3c-master-cdns.c i3c: master: Fix an error checking typo in 'cdns_i3c_master_probe()' 2019-01-07 14:18:17 +01:00