Return-Path: Received: from localhost (bix [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i3UJLBF7015503 for ; Fri, 30 Apr 2004 12:21:11 -0700 Received: from bix [127.0.0.1] by localhost with POP3 (fetchmail-6.2.0) for akpm@localhost (single-drop); Fri, 30 Apr 2004 12:21:11 -0700 (PDT) Received: from fire-2.osdl.org (air1.pdx.osdl.net [172.20.0.5]) by mail.osdl.org (8.11.6/8.11.6) with ESMTP id i3UJIq204882 for ; Fri, 30 Apr 2004 12:18:52 -0700 Received: from caramon.arm.linux.org.uk (caramon.arm.linux.org.uk [212.18.232.186]) by fire-2.osdl.org (8.12.8/8.12.8) with ESMTP id i3UJInws016256 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 30 Apr 2004 12:18:51 -0700 Received: from flint.arm.linux.org.uk ([2002:d412:e8ba:1:201:2ff:fe14:8fad]) by caramon.arm.linux.org.uk with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.32) id 1BJdX4-00047T-V1; Fri, 30 Apr 2004 20:18:47 +0100 Received: from rmk by flint.arm.linux.org.uk with local (Exim 4.32) id 1BJdX4-0006Rb-34; Fri, 30 Apr 2004 20:18:46 +0100 Date: Fri, 30 Apr 2004 20:18:45 +0100 From: Russell King To: Linus Torvalds , Andrew Morton Cc: dwmw2@infradead.org Subject: [MTD] Fix MTD suspend/resume Message-ID: <20040430201845.D9750@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: Russell King X-MIMEDefang-Filter: osdl$Revision: 1.57 $ X-Scanned-By: MIMEDefang 2.36 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on bix X-Spam-Status: No, hits=-4.9 required=1.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: Linus, Andrew, This patch carries forward the following bug fix from MTD CVS, which causes a lot of noise after a suspend/resume cycle on ARM devices. Please apply. revision 1.127 date: 2003/07/02 20:29:38; author: acurtis; state: Exp; lines: +2 -1 Added FL_STATUS to the FL_READY case in put_chip(). (Eliminate noise) diff -urpN orig/drivers/mtd/chips/cfi_cmdset_0001.c linux/drivers/mtd/chips/cfi_cmdset_0001.c --- orig/drivers/mtd/chips/cfi_cmdset_0001.c Tue Apr 13 19:40:32 2004 +++ linux/drivers/mtd/chips/cfi_cmdset_0001.c Tue Apr 13 14:09:08 2004 @@ -431,6 +431,7 @@ static void put_chip(struct map_info *ma break; case FL_READY: + case FL_STATUS: /* We should really make set_vpp() count, rather than doing this */ DISABLE_VPP(map); break; -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core