Bjoern A. Zeeb
b294eac56b
Fix logic errors in iwm_pcie_load_firmware_chunk introduced in r314065.
...
* There's no reason to have a while() loop here, because:
- if msleep returns 0, that means we were woken up by the interrupt handler,
and we are going to exit immediately as sc_fw_chunk_done will now be 1
(there is nothing else that sleeps on sc_fw.)
- if msleep doesn't return 0 (i.e. it returned ETIMEDOUT) then we will
exit immediately because of the if-test.
So, just use a single msleep() and then check sc_fw_chunk_done as before.
* The comment said we were sleeping for 5 seconds, but the msleep was only
for 1. Before r314065, this was 1 second and so was the comment,
and in that commit the comment was changed and the function call wasn't.
Possibly fixes failures to initialize uCode on certain devices.
Submitted by: Augustin Cavalier (waddlesplash gmail.com)
Obtained from: Haiku 132990ecdcb072f2ce597b5d497ff3e5b1f09c20
MFC after: 10 days
2019-01-26 17:52:12 +00:00
..
2018-09-26 17:12:14 +00:00
2018-09-26 17:12:14 +00:00
2018-12-07 16:01:51 +00:00
2018-12-08 19:32:23 +00:00
2017-11-27 14:52:40 +00:00
2018-09-26 17:12:14 +00:00
2018-10-25 04:10:41 +00:00
2018-09-26 17:12:14 +00:00
2018-08-25 19:38:08 +00:00
2019-01-07 02:39:40 +00:00
2019-01-19 05:31:48 +00:00
2018-08-28 17:09:41 +00:00
2018-09-26 17:12:14 +00:00
2018-09-26 17:12:14 +00:00
2018-12-02 18:30:58 +00:00
2018-08-25 19:38:08 +00:00
2018-10-26 00:05:46 +00:00
2018-05-05 05:22:11 +00:00
2018-07-07 15:55:52 +00:00
2019-01-12 22:36:33 +00:00
2019-01-12 22:36:33 +00:00
2018-09-26 17:12:14 +00:00
2018-09-26 17:12:14 +00:00
2017-11-27 14:52:40 +00:00
2019-01-06 23:43:12 +00:00
2018-07-03 16:17:59 +00:00
2018-08-10 13:38:23 +00:00
2019-01-18 22:20:29 +00:00
2017-11-27 14:52:40 +00:00
2017-12-25 04:48:39 +00:00
2018-09-26 17:12:14 +00:00
2018-01-21 15:42:36 +00:00
2018-09-26 17:12:14 +00:00
2018-09-26 17:12:14 +00:00
2019-01-25 21:38:28 +00:00
2018-06-24 19:01:01 +00:00
2018-10-25 04:10:41 +00:00
2018-07-15 19:04:23 +00:00
2017-11-27 14:52:40 +00:00
2019-01-26 17:00:55 +00:00
2018-12-12 15:49:14 +00:00
2018-10-15 18:39:33 +00:00
2017-12-27 03:23:21 +00:00
2018-03-20 22:01:18 +00:00
2018-09-26 17:12:14 +00:00
2018-07-18 00:56:25 +00:00
2017-11-27 14:52:40 +00:00
2018-07-17 23:23:45 +00:00
2018-09-26 17:12:14 +00:00
2017-11-27 14:52:40 +00:00
2018-06-15 02:28:36 +00:00
2018-10-20 23:17:24 +00:00
2018-07-19 11:31:49 +00:00
2018-10-25 04:10:41 +00:00
2018-08-10 20:37:32 +00:00
2018-09-26 17:12:30 +00:00
2019-01-25 20:54:18 +00:00
2018-04-06 17:35:35 +00:00
2017-08-08 13:27:32 +00:00
2018-09-26 17:12:14 +00:00
2018-04-13 20:30:49 +00:00
2018-10-25 04:10:41 +00:00
2018-10-25 04:10:41 +00:00
2018-10-23 01:56:52 +00:00
2017-11-20 19:36:21 +00:00
2019-01-15 21:06:58 +00:00
2019-01-09 17:23:08 +00:00
2018-05-18 20:13:34 +00:00
2019-01-24 01:03:00 +00:00
2018-10-25 04:10:41 +00:00
2018-12-15 05:46:04 +00:00
2019-01-16 02:13:21 +00:00
2018-10-25 04:10:41 +00:00
2018-01-21 15:42:36 +00:00
2018-09-26 17:12:14 +00:00
2018-04-10 08:35:43 +00:00
2018-11-25 19:37:00 +00:00
2018-10-25 04:10:41 +00:00
2018-05-01 16:29:22 +00:00
2018-11-29 19:06:05 +00:00
2018-01-21 15:42:36 +00:00
2018-10-26 00:05:46 +00:00
2018-12-12 21:56:45 +00:00
2018-10-25 04:10:41 +00:00
2018-09-21 13:44:05 +00:00
2018-12-11 19:32:16 +00:00
2018-07-27 10:40:48 +00:00
2018-07-29 16:55:28 +00:00
2018-12-19 04:54:32 +00:00
2018-09-26 17:12:14 +00:00
2017-11-27 14:52:40 +00:00
2018-08-26 12:51:46 +00:00
2018-10-26 00:05:46 +00:00
2017-11-27 14:52:40 +00:00
2018-08-26 12:51:46 +00:00
2018-05-18 20:13:34 +00:00
2018-01-02 18:29:44 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2018-01-02 18:31:32 +00:00
2018-01-02 18:31:32 +00:00
2019-01-21 18:07:02 +00:00
2018-10-26 00:05:46 +00:00
2017-11-27 14:52:40 +00:00
2018-12-17 21:34:09 +00:00
2018-12-18 17:17:53 +00:00
2018-09-26 17:12:30 +00:00
2018-05-18 20:13:34 +00:00
2018-12-14 21:17:42 +00:00
2017-11-27 14:52:40 +00:00
2018-03-03 01:53:51 +00:00
2018-10-26 00:05:46 +00:00
2018-09-26 17:12:14 +00:00
2017-11-27 14:52:40 +00:00
2019-01-17 23:21:02 +00:00
2018-12-15 05:46:04 +00:00
2017-11-27 14:52:40 +00:00
2018-10-23 12:53:09 +00:00
2018-02-23 20:01:42 +00:00
2018-03-14 18:27:06 +00:00
2017-11-27 14:52:40 +00:00
2017-11-23 14:28:14 +00:00
2018-07-30 15:46:40 +00:00
2018-03-02 19:50:41 +00:00
2019-01-26 17:00:55 +00:00
2019-01-26 17:52:12 +00:00
2019-01-22 01:44:47 +00:00
2019-01-24 01:03:00 +00:00
2019-01-24 01:08:37 +00:00
2018-08-01 08:24:34 +00:00
2018-05-18 20:13:34 +00:00
2018-08-13 19:05:53 +00:00
2018-10-27 20:22:41 +00:00
2017-11-27 14:52:40 +00:00
2018-05-18 20:13:34 +00:00
2019-01-15 00:52:41 +00:00
2018-05-18 20:13:34 +00:00
2018-08-25 19:38:08 +00:00
2018-05-18 20:13:34 +00:00
2017-11-30 15:48:35 +00:00
2019-01-15 01:02:16 +00:00
2017-11-27 14:52:40 +00:00
2018-09-26 17:12:30 +00:00
2018-05-18 20:13:34 +00:00
2018-08-07 17:13:42 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2018-12-05 14:25:34 +00:00
2018-12-06 21:52:40 +00:00
2018-08-21 10:08:12 +00:00
2018-11-17 17:21:36 +00:00
2017-07-09 17:02:47 +00:00
2017-11-30 20:33:45 +00:00
2018-12-31 23:27:56 +00:00
2018-12-31 23:30:31 +00:00
2018-01-21 15:42:36 +00:00
2018-12-26 10:48:39 +00:00
2018-05-18 20:13:34 +00:00
2018-03-05 14:34:52 +00:00
2018-09-26 17:12:30 +00:00
2018-03-30 18:50:13 +00:00
2018-07-05 02:43:10 +00:00
2018-09-26 17:12:30 +00:00
2018-07-27 18:28:22 +00:00
2018-01-02 20:58:05 +00:00
2018-08-14 18:58:16 +00:00
2019-01-24 22:09:26 +00:00
2018-12-14 18:16:35 +00:00
2018-05-18 20:13:34 +00:00
2017-11-20 19:36:21 +00:00
2018-09-26 17:12:14 +00:00
2018-05-06 00:22:38 +00:00
2018-12-27 22:44:07 +00:00
2019-01-18 10:54:36 +00:00
2019-01-15 01:02:16 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2019-01-08 05:41:04 +00:00
2019-01-23 17:34:01 +00:00
2018-09-26 17:12:14 +00:00
2018-05-18 20:13:34 +00:00
2018-12-20 05:46:56 +00:00
2017-11-27 14:52:40 +00:00
2019-01-07 06:19:51 +00:00
2019-01-07 05:59:58 +00:00
2017-11-27 14:52:40 +00:00
2018-12-17 17:11:00 +00:00
2018-10-25 04:10:41 +00:00
2017-10-21 07:23:45 +00:00
2017-11-27 14:52:40 +00:00
2017-11-30 20:33:45 +00:00
2018-04-13 20:30:49 +00:00
2018-11-22 16:55:09 +00:00
2018-08-14 13:56:49 +00:00
2018-01-21 15:42:36 +00:00
2017-11-27 14:52:40 +00:00
2018-09-26 17:12:14 +00:00
2018-12-14 18:37:26 +00:00
2018-07-25 02:36:55 +00:00
2018-05-18 20:13:34 +00:00
2018-05-18 20:13:34 +00:00
2018-05-18 20:13:34 +00:00
2017-11-27 14:52:40 +00:00
2019-01-26 17:00:55 +00:00
2018-10-27 15:09:35 +00:00
2017-11-27 14:52:40 +00:00
2018-05-18 20:13:34 +00:00
2018-09-26 19:41:00 +00:00
2018-08-26 12:51:46 +00:00
2018-04-06 17:35:35 +00:00
2017-11-27 14:52:40 +00:00
2019-01-26 17:00:55 +00:00
2018-08-26 12:51:46 +00:00
2018-08-13 21:53:18 +00:00
2017-11-27 14:52:40 +00:00
2018-12-30 23:08:06 +00:00
2018-07-18 00:56:25 +00:00
2018-10-25 04:10:41 +00:00
2018-12-10 09:36:05 +00:00
2018-05-18 20:13:34 +00:00
2017-11-27 14:52:40 +00:00
2018-04-06 17:35:35 +00:00
2018-05-18 20:13:34 +00:00
2018-07-27 10:40:48 +00:00
2018-07-13 22:49:48 +00:00
2017-11-27 14:52:40 +00:00
2017-12-25 04:48:39 +00:00
2018-10-25 04:10:41 +00:00
2017-11-27 14:52:40 +00:00
2019-01-22 22:39:46 +00:00
2018-09-26 17:12:14 +00:00
2018-05-18 20:13:34 +00:00
2018-05-18 20:13:34 +00:00
2018-10-22 02:36:31 +00:00
2018-08-26 12:51:46 +00:00
2018-03-24 12:48:10 +00:00
2017-11-27 14:52:40 +00:00
2018-12-02 18:30:58 +00:00
2018-05-18 20:13:34 +00:00
2018-10-25 04:10:41 +00:00
2019-01-25 16:16:10 +00:00
2017-11-27 14:52:40 +00:00
2018-05-18 20:13:34 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2019-01-05 15:28:20 +00:00
2018-10-25 04:10:41 +00:00
2018-10-25 04:10:41 +00:00
2018-10-12 15:19:41 +00:00
2018-08-26 12:51:46 +00:00
2019-01-26 17:00:55 +00:00
2018-06-20 00:48:46 +00:00
2018-05-18 20:13:34 +00:00
2017-11-27 14:52:40 +00:00
2018-11-14 15:39:48 +00:00
2018-04-06 17:35:35 +00:00
2019-01-22 01:11:17 +00:00
2018-07-14 16:06:53 +00:00
2018-05-18 20:13:34 +00:00
2018-12-31 01:09:23 +00:00
2018-05-18 20:13:34 +00:00
2018-10-25 04:10:41 +00:00
2018-01-03 00:56:30 +00:00
2018-10-25 04:10:41 +00:00
2018-01-13 16:31:07 +00:00
2018-05-18 20:13:34 +00:00
2018-01-02 00:07:28 +00:00
2019-01-09 01:11:19 +00:00
2018-08-20 15:57:27 +00:00
2018-10-25 04:10:41 +00:00
2018-12-02 13:16:46 +00:00
2018-09-26 17:12:14 +00:00