]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit047fb3e08c2daedf8ff2977303b0c7e9ccf8d91d
tree982aefa39f39656fa5c568e0bdabd5885462f7e6
parent033464043ae4ae09e9424b696295b2246b526cf2
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