Skip to content

Commit

Permalink
Extend pause in firmware loading
Browse files Browse the repository at this point in the history
  • Loading branch information
johalun committed Nov 18, 2018
1 parent 9d47854 commit 71a473b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions linuxkpi/gplv2/src/linux_firmware.c
Expand Up @@ -47,7 +47,7 @@ request_firmware(const struct linux_firmware **lkfwp, const char *name,
goto fail_mapped;
}
retry:
pause("fwwait", hz/4);
pause("fwwait", hz/2);
fw = firmware_get(name);
if (fw == NULL) {
device_printf(device->bsddev, "fail (%d) to get firmware "
Expand All @@ -58,7 +58,6 @@ request_firmware(const struct linux_firmware **lkfwp, const char *name,
"firmware image with mapped name: %s\n",
retries, name);
if (retries++ < 10) {
pause("fwwait", hz/4);
goto retry;
}
} else {
Expand Down

0 comments on commit 71a473b

Please sign in to comment.