[PATCH] bus: ti-sysc: Increase max softreset wait

From: Tony Lindgren
Date: Wed Jun 03 2020 - 18:02:55 EST


Otherwise we can get "OCP softreset timed out" warnings occasionally
at least for i2c2 on omap4 now that we check the OCP softreset completed
bit on enable.

Reported-by: Merlijn Wajer <merlijn@xxxxxxxxxx>
Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
---
drivers/bus/ti-sysc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -29,7 +29,7 @@

#define SOC_FLAG(match, flag) { .machine = match, .data = (void *)(flag), }

-#define MAX_MODULE_SOFTRESET_WAIT 10000
+#define MAX_MODULE_SOFTRESET_WAIT 20000

enum sysc_soc {
SOC_UNKNOWN,
--
2.26.2