OSDN Git Service

diag: Update hdlc disable protection to avoid deadlock
authorHardik Arya <harya@codeaurora.org>
Tue, 9 Oct 2018 12:37:28 +0000 (18:07 +0530)
committerHardik Arya <harya@codeaurora.org>
Tue, 5 Feb 2019 09:01:11 +0000 (14:31 +0530)
commitaca00daec5e560e9f5f63bb572296a1c711b6f5b
treebfca719c73cb9e105dd49fa950824da5d763a591
parent946085b74b1073b8cc921e912cea18aa36d64f3a
diag: Update hdlc disable protection to avoid deadlock

Currently there is a possibility of deadlock while processing
apps data. The patch updates the scope of hdlc_disable_mutex
to avoid the deadlock situation.

Change-Id: I070e1a546a016fdd854ad413c03c0bc6f192c516
Signed-off-by: Hardik Arya <harya@codeaurora.org>
drivers/char/diag/diagchar_core.c