Files
linux/drivers
Thierry Escande 9960521c44 Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning
This patch fixes the following warning during boot:

 do not call blocking ops when !TASK_RUNNING; state=1 set at
 [<(ptrval)>] qca_setup+0x194/0x750 [hci_uart]
 WARNING: CPU: 2 PID: 1878 at kernel/sched/core.c:6135
 __might_sleep+0x7c/0x88

In qca_set_baudrate(), the current task state is set to
TASK_UNINTERRUPTIBLE before going to sleep for 300ms. It was then
restored to TASK_INTERRUPTIBLE. This patch sets the current task state
back to TASK_RUNNING instead.

Signed-off-by: Thierry Escande <thierry.escande@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2018-05-30 08:12:17 +02:00
..
2018-04-19 15:11:50 -07:00
2018-03-27 09:51:22 +02:00
2018-05-22 13:48:34 -04:00
2018-03-19 14:20:24 -05:00
2018-04-18 23:37:25 -04:00
2018-05-17 16:11:40 -04:00
2018-03-29 13:38:10 +03:00