summaryrefslogtreecommitdiff
path: root/arch/arm/mach-apple
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2022-03-21 22:36:05 +0100
committerTom Rini <trini@konsulko.com>2022-03-28 08:22:17 -0400
commit66899c8d193352f0fee17a1ed5cdeabc3e028540 (patch)
tree27f355016db9bc0456015d69a233fc602e7298f7 /arch/arm/mach-apple
parentc259b197f6f8a4b1d33700e0b9202781fb8ce737 (diff)
arm: apple: Increase RTKit timeout
The firmware on larger NVMe drives needs more than 100ms to come up. Change the timeout to 1s. Signed-off-by: Hector Martin <marcan@marcan.st> Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-apple')
-rw-r--r--arch/arm/mach-apple/rtkit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-apple/rtkit.c b/arch/arm/mach-apple/rtkit.c
index dff475cab7..2dcb8bdd3e 100644
--- a/arch/arm/mach-apple/rtkit.c
+++ b/arch/arm/mach-apple/rtkit.c
@@ -170,7 +170,7 @@ wait_epmap:
pwrstate = APPLE_RTKIT_PWR_STATE_SLEEP;
while (pwrstate != APPLE_RTKIT_PWR_STATE_ON) {
- ret = mbox_recv(chan, &msg, 100000);
+ ret = mbox_recv(chan, &msg, 1000000);
if (ret < 0)
return ret;