From 812e21ac396247767da0144748b5f52ad11b3e17 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Tue, 4 May 2010 12:28:05 +0200 Subject: [PATCH] zy1000: fix keep_alive() bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit introduced in latest commit. Should have held off merging that commit. Sigh.... Signed-off-by: Øyvind Harboe --- src/jtag/zy1000/zy1000.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c index 092e3cd25c..2fac1767ad 100644 --- a/src/jtag/zy1000/zy1000.c +++ b/src/jtag/zy1000/zy1000.c @@ -205,6 +205,8 @@ void zy1000_reset(int trst, int srst) total = timeval_ms() - start; + keep_alive(); + if (total > 5000) { LOG_ERROR("SRST took too long to deassert: %dms", (int)total); -- 2.30.2