From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ew0-f49.google.com ([209.85.215.49]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1QFnYl-0001qD-HB for linux-mtd@lists.infradead.org; Fri, 29 Apr 2011 13:16:40 +0000 Received: by ewy3 with SMTP id 3so1317562ewy.36 for ; Fri, 29 Apr 2011 06:16:37 -0700 (PDT) Subject: Re: [RFC] mtd: nand: Fix bad block identification issue From: Artem Bityutskiy To: "Saxena, Parth" In-Reply-To: <1304011843.2737.3.camel@localhost> References: <1303906161-24175-1-git-send-email-parth.saxena@ti.com> <1304011843.2737.3.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Fri, 29 Apr 2011 16:12:24 +0300 Message-ID: <1304082744.2737.46.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: "Basheer, Mansoor Ahamed" , linux-omap@vger.kernel.org, Brian Norris , linux-mtd@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2011-04-28 at 20:30 +0300, Artem Bityutskiy wrote: > On Wed, 2011-04-27 at 17:39 +0530, Saxena, Parth wrote: > > This patch solves the above issue for omap by initialising > > badblockbits. We are working further on this to find a generic fix > > to the problem in nand_base.c. > > But it looks like the generic solution is to return the line which was > accidentally removed, how about this patch > > From: Artem Bityutskiy > Date: Thu, 28 Apr 2011 20:26:59 +0300 > Subject: [PATCH] mtd: return badblockbits back > > In commit c7b28e25cb9beb943aead770ff14551b55fa8c79 the initialization of > the backblockbits was accidentally removed. This patch returns it back, > because otherwise some NAND drivers are broken. > > This problem was reported by "Saxena, Parth " here: > http://lists.infradead.org/pipermail/linux-mtd/2011-April/035221.html > > Reported-by: Saxena, Parth > Signed-off-by: Artem Bityutskiy > Cc: stable@kernel.org [2.6.36+] > --- > drivers/mtd/nand/nand_base.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) Any ack/nack/tested-by? -- Best Regards, Artem Bityutskiy (Артём Битюцкий)