Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753267AbZDMTlR (ORCPT ); Mon, 13 Apr 2009 15:41:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750966AbZDMTlD (ORCPT ); Mon, 13 Apr 2009 15:41:03 -0400 Received: from sorrow.cyrius.com ([65.19.161.204]:50611 "EHLO sorrow.cyrius.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbZDMTlB (ORCPT ); Mon, 13 Apr 2009 15:41:01 -0400 Date: Mon, 13 Apr 2009 21:33:11 +0200 From: Martin Michlmayr To: Peter Horton Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, dwmw2@infradead.org Subject: Re: [PATCH] mtd: fix timeout in M25P80 driver Message-ID: <20090413193311.GA16597@deprecation.cyrius.com> References: <20090413142633.GA1560@sloth.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090413142633.GA1560@sloth.localnet> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 745 Lines: 21 * Peter Horton [2009-04-13 15:26]: > Extend erase timeout in M25P80 SPI Flash driver. > > The M25P80 drivers fails erasing sectors on a M25P128 because the ready > wait timeout is too short. Change the timeout from a simple loop count to a > suitable number of seconds. > > Signed-off-by: Peter Horton Tested-by: Martin Michlmayr This solves the problem I've seen on the QNAP TS-219. -- Martin Michlmayr http://www.cyrius.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/