From: mglocker Date: Sun, 28 Aug 2016 15:26:10 +0000 (+0000) Subject: Reset the host controller after a failed command request to make sure it X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9a89f84ace932f9fc4a8c6b5f7362cfef9b8460b;p=openbsd Reset the host controller after a failed command request to make sure it operates again. ok kettenis --- 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); }