1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-17 23:03:29 +02:00

Increase register status polling busy-wait from 250 to 500ms.

This makes ufshci(4) survive a suspend on the Samsung Galaxy Book4 Edge.
This commit is contained in:
mglocker
2026-06-06 16:12:18 +00:00
parent 000c4a4fbc
commit 7d22cbfda1
+2 -2
View File
@@ -1,4 +1,4 @@
/* $OpenBSD: ufshci.c,v 1.46 2025/01/18 19:42:39 mglocker Exp $ */
/* $OpenBSD: ufshci.c,v 1.47 2026/06/06 16:12:18 mglocker Exp $ */
/*
* Copyright (c) 2022 Marcus Glocker <mglocker@openbsd.org>
@@ -311,7 +311,7 @@ int
ufshci_is_poll(struct ufshci_softc *sc, uint32_t type)
{
uint32_t status;
int i, retry = 25;
int i, retry = 50;
for (i = 0; i < retry; i++) {
status = UFSHCI_READ_4(sc, UFSHCI_REG_IS);