aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2019-01-25 07:29:20 +0000
committerBoris Brezillon <[email protected]>2019-01-26 11:14:25 +0100
commitf36c1f9a8dfd6a78e6c3fe7aff5e722b84307597 (patch)
treecf6b4f9bf5e9c4de75deb6d51a45088ee6b4faf0 /net/lapb/lapb_subr.c
parent093c61b6a0d5768f48442ec59d671496314cc47d (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 <[email protected]> Acked-by: Vitor Soares <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions