From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.bootlin.com ([62.4.15.54]:38238 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751834AbeEFV4u (ORCPT ); Sun, 6 May 2018 17:56:50 -0400 Date: Sun, 6 May 2018 23:56:47 +0200 From: Miquel Raynal To: Boris Brezillon Cc: Richard Weinberger , linux-mtd@lists.infradead.org, David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , stable@vger.kernel.org Subject: Re: [PATCH v2] mtd: rawnand: Make sure we wait tWB before polling the STATUS reg Message-ID: <20180506235647.7ef3c8e3@xps13> In-Reply-To: <20180504192431.16661-1-boris.brezillon@bootlin.com> References: <20180504192431.16661-1-boris.brezillon@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: stable-owner@vger.kernel.org List-ID: Hi Boris, On Fri, 4 May 2018 21:24:31 +0200, Boris Brezillon wrote: > NAND chips require a bit of time to take the NAND operation into > account and set the BUSY bit in the STATUS reg. Make sure we don't poll > the STATUS reg too early in nand_soft_waitrdy(). > > Fixes: 8878b126df76 ("mtd: nand: add ->exec_op() implementation") > Cc: > Signed-off-by: Boris Brezillon Acked-by: Miquel Raynal Thanks, Miquèl -- Miquel Raynal, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com