Bluetooth: hci_qca: disable irqs when spinlock is acquired
authorHarish Bandi <c-hbandi@codeaurora.org>
Wed, 4 Sep 2019 04:34:16 +0000 (10:04 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Sep 2019 14:06:08 +0000 (16:06 +0200)
commit31fb1bbdabb34d53e3d83f0353085d9b79977786
tree982aefa39f39656fa5c568e0bdabd5885462f7e6
parent6d0762b19c5963ff9e178e8af3626532ee04d93d
Bluetooth: hci_qca: disable irqs when spinlock is acquired

Looks like Deadlock is observed in hci_qca while performing
stress and stability tests. Since same lock is getting
acquired from qca_wq_awake_rx and hci_ibs_tx_idle_timeout
seeing spinlock recursion, irqs should be disable while
acquiring the spinlock always.

Signed-off-by: Harish Bandi <c-hbandi@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c