diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2019-01-25 07:29:20 +0000 |
---|---|---|
committer | Boris Brezillon <bbrezillon@kernel.org> | 2019-01-26 11:14:25 +0100 |
commit | f36c1f9a8dfd6a78e6c3fe7aff5e722b84307597 (patch) | |
tree | cf6b4f9bf5e9c4de75deb6d51a45088ee6b4faf0 /usr/.gitignore | |
parent | 093c61b6a0d5768f48442ec59d671496314cc47d (diff) |
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 'usr/.gitignore')
0 files changed, 0 insertions, 0 deletions