OSDN Git Service

diag: Synchronize threads to fix possible deadlock
authorManoj Prabhu B <bmanoj@codeaurora.org>
Tue, 10 Jan 2017 14:49:28 +0000 (20:19 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 20 Jan 2017 08:57:02 +0000 (00:57 -0800)
commit77d5c4ff303a019b4f7cd08cb03de22737022ea6
treebe0e3f8f4e0661c48aea39b000a7e185d30cc7ee
parentfdddc49ef25b6efe57e7a6e15b59dfb253dc496b
diag: Synchronize threads to fix possible deadlock

This patch fixes the possible deadlock during processing
of feature mask between different peripherals.

CRs-Fixed: 1101672
Change-Id: I4d4223275c03017ef367bafa8e55be1803b9a750
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
drivers/char/diag/diagchar.h
drivers/char/diag/diagchar_core.c
drivers/char/diag/diagfwd_peripheral.c
drivers/char/diag/diagfwd_socket.c