summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2019-01-25 10:29:20 +0300
committerBoris Brezillon <bbrezillon@kernel.org>2019-01-26 13:14:25 +0300
commitf36c1f9a8dfd6a78e6c3fe7aff5e722b84307597 (patch)
treecf6b4f9bf5e9c4de75deb6d51a45088ee6b4faf0 /certs
parent093c61b6a0d5768f48442ec59d671496314cc47d (diff)
downloadlinux-f36c1f9a8dfd6a78e6c3fe7aff5e722b84307597.tar.xz
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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions