diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2019-01-25 10:29:20 +0300 |
---|---|---|
committer | Boris Brezillon <bbrezillon@kernel.org> | 2019-01-26 13:14:25 +0300 |
commit | f36c1f9a8dfd6a78e6c3fe7aff5e722b84307597 (patch) | |
tree | cf6b4f9bf5e9c4de75deb6d51a45088ee6b4faf0 /certs | |
parent | 093c61b6a0d5768f48442ec59d671496314cc47d (diff) | |
download | linux-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