diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index d03bd4eff722..da41ea82941a 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -199,7 +199,7 @@ static void wait_op_done(struct mxc_nand_host *host, int max_retries, | |||
199 | } | 199 | } |
200 | udelay(1); | 200 | udelay(1); |
201 | } | 201 | } |
202 | if (max_retries <= 0) | 202 | if (max_retries < 0) |
203 | DEBUG(MTD_DEBUG_LEVEL0, "%s(%d): INT not set\n", | 203 | DEBUG(MTD_DEBUG_LEVEL0, "%s(%d): INT not set\n", |
204 | __func__, param); | 204 | __func__, param); |
205 | } | 205 | } |