Jia-Ju Bai
688d6240e0
Bluetooth: hci_ath: Replace mdelay with msleep in ath_wakeup_ar3k
...
ath_wakeup_ar3k() is never called from atomic context.
It is only called by ath_hci_uart_work() that is only called in
ath_open() via INIT_WORK().
All of the above functions do not enter atomic context along the way.
Despite never getting called from atomic context, ath_wakeup_ar3k() calls
mdelay() for busy wait.
That is not necessary and can be replaced with msleep to avoid busy wait.
This is found by a static analysis tool named DCNS written by myself.
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com >
Signed-off-by: Marcel Holtmann <marcel@holtmann.org >
2018-02-07 09:47:04 +01:00
..
2018-02-01 10:00:28 -08:00
2018-02-01 10:31:17 -08:00
2018-01-30 14:48:30 -08:00
2018-02-01 17:48:47 -08:00
2018-01-30 18:59:03 -08:00
2018-02-07 09:47:04 +01:00
2018-02-01 16:35:31 -08:00
2018-02-01 17:48:47 -08:00
2018-02-01 16:56:07 -08:00
2018-02-02 10:01:04 -08:00
2018-01-31 14:22:45 -08:00
2018-02-02 09:50:51 -08:00
2018-02-01 17:48:47 -08:00
2018-02-02 14:57:44 -08:00
2018-02-03 13:46:14 -08:00
2018-02-02 14:22:53 -08:00
2018-02-01 17:48:47 -08:00
2018-01-31 13:00:01 -08:00
2018-01-31 12:54:05 -08:00
2018-02-01 10:31:17 -08:00
2018-01-27 09:34:22 -08:00
2018-02-01 10:31:17 -08:00
2018-02-01 16:17:40 -08:00
2018-01-29 15:01:09 -05:00
2018-02-01 09:51:57 -08:00
2018-01-31 18:46:22 -08:00
2018-02-01 10:49:58 -08:00
2018-02-01 16:35:31 -08:00
2018-01-30 13:57:43 -08:00
2018-01-30 18:59:03 -08:00
2018-01-31 12:22:41 -08:00
2018-02-02 10:01:04 -08:00
2018-01-31 11:05:47 -08:00
2018-02-01 17:48:47 -08:00
2018-02-01 16:35:31 -08:00
2018-01-29 11:35:24 -08:00
2018-02-03 16:25:42 -08:00
2018-01-29 11:26:11 -08:00
2018-01-31 11:32:27 -08:00
2018-02-01 10:31:17 -08:00
2018-02-03 13:16:55 -08:00
2018-02-01 10:00:28 -08:00
2018-02-01 16:35:31 -08:00
2018-02-02 10:01:04 -08:00
2018-02-01 09:40:49 -08:00
2018-02-02 14:22:53 -08:00
2018-02-01 10:00:28 -08:00
2018-01-31 12:55:31 -08:00
2018-01-23 12:17:42 -06:00
2018-01-26 17:57:05 +00:00
2018-02-02 14:19:19 -08:00
2018-02-01 10:00:28 -08:00
2018-01-29 14:28:48 -05:00
2018-02-03 16:25:42 -08:00
2018-02-01 16:35:31 -08:00
2018-01-26 17:57:34 +00:00
2018-02-01 17:48:47 -08:00
2018-01-29 11:51:49 -08:00
2018-02-01 10:00:28 -08:00
2018-02-01 10:00:28 -08:00
2018-02-01 10:31:17 -08:00
2018-02-01 10:00:28 -08:00
2018-02-01 13:18:25 -08:00
2018-01-31 14:31:10 -08:00
2018-02-01 17:48:47 -08:00
2018-02-01 10:31:17 -08:00
2018-01-31 19:25:25 -08:00
2018-01-31 11:32:27 -08:00
2018-02-01 10:31:17 -08:00
2018-02-01 10:31:17 -08:00