rsi: use separate mutex lock for receive thread
authorKarun Eagalapati <karun256@gmail.com>
Thu, 6 Jul 2017 14:37:23 +0000 (20:07 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:22:43 +0000 (17:22 +0300)
commit6c409cad3d2b66cb4fd184d140fdf48e34890249
treea79ef7acf91acac1ea908dd36c3ec17952049bb7
parentebf084ea0ec749f6ec576a67762f0ec34c514111
rsi: use separate mutex lock for receive thread

Deadlock issue is observed during our stress tests. The root
cause for the issue is same lock is used between tx and rx threads.

This patch adds a separate mutex lock for rx thread to resolve
the problem.

Signed-off-by: Karun Eagalapati <karun256@gmail.com>
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_main.c
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
drivers/net/wireless/rsi/rsi_91x_usb_ops.c
drivers/net/wireless/rsi/rsi_main.h