summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/arm64/dev/apliic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/dev/apliic.c b/sys/arch/arm64/dev/apliic.c
index 7358d669b0d..f8afb52c6c8 100644
--- a/sys/arch/arm64/dev/apliic.c
+++ b/sys/arch/arm64/dev/apliic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apliic.c,v 1.4 2022/12/06 16:06:32 kettenis Exp $ */
+/* $OpenBSD: apliic.c,v 1.5 2022/12/10 18:43:48 kettenis Exp $ */
/*
* Copyright (c) 2021 Patrick Wildt <patrick@blueri.se>
*
@@ -158,7 +158,7 @@ apliic_wait(struct apliic_softc *sc)
uint32_t reg;
int timo;
- for (timo = 10; timo > 0; timo--) {
+ for (timo = 100; timo > 0; timo--) {
reg = HREAD4(sc, I2C_SMSTA);
if (reg & I2C_SMSTA_XEN)
break;