From fda3a9d90278d7dae998e836eaa075ab6f9e6125 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 18 Jan 2005 16:15:00 +0000 Subject: [PATCH] --- yaml --- r: 4457 b: refs/heads/master c: 15266bb74d0156556f9541c9817b778286ffe5d6 h: refs/heads/master i: 4455: 4d7707a45ed2de0ca4ced8dc3f3e422034f82774 v: v3 --- [refs] | 2 +- trunk/drivers/mtd/nand/nand_base.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 98fb6c5786a3..664daf371546 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6fc93d8ca7a093feb403aca4ee3cb5bda338392c +refs/heads/master: 15266bb74d0156556f9541c9817b778286ffe5d6 diff --git a/trunk/drivers/mtd/nand/nand_base.c b/trunk/drivers/mtd/nand/nand_base.c index 2ac452e3ad6b..68a6014f5560 100644 --- a/trunk/drivers/mtd/nand/nand_base.c +++ b/trunk/drivers/mtd/nand/nand_base.c @@ -55,7 +55,7 @@ * The AG-AND chips have nice features for speed improvement, * which are not supported yet. Read / program 4 pages in one go. * - * $Id: nand_base.c,v 1.127 2005/01/17 18:35:22 dmarlin Exp $ + * $Id: nand_base.c,v 1.128 2005/01/18 16:14:56 gleixner Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -810,7 +810,7 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *this, int state) if (this->read_byte(mtd) & NAND_STATUS_READY) break; } - yield (); + msleep(1); } status = (int) this->read_byte(mtd); return status;