From 9a89f84ace932f9fc4a8c6b5f7362cfef9b8460b Mon Sep 17 00:00:00 2001 From: mglocker Date: Sun, 28 Aug 2016 15:26:10 +0000 Subject: [PATCH] Reset the host controller after a failed command request to make sure it operates again. ok kettenis --- sys/arch/armv7/sunxi/sximmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/armv7/sunxi/sximmc.c b/sys/arch/armv7/sunxi/sximmc.c index c138e0b155d..6d888f50a9b 100644 --- a/sys/arch/armv7/sunxi/sximmc.c +++ b/sys/arch/armv7/sunxi/sximmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sximmc.c,v 1.6 2016/08/27 18:12:16 kettenis Exp $ */ +/* $OpenBSD: sximmc.c,v 1.7 2016/08/28 15:26:10 mglocker Exp $ */ /* $NetBSD: awin_mmc.c,v 1.23 2015/11/14 10:32:40 bouyer Exp $ */ /*- @@ -1079,6 +1079,7 @@ done: break; delay(10); } + sximmc_host_reset(sc); sximmc_update_clock(sc); } -- 2.20.1