From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-db8lp0187.outbound.messaging.microsoft.com ([213.199.154.187] helo=db8outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W3zMv-0005W0-Na for linux-mtd@lists.infradead.org; Fri, 17 Jan 2014 02:41:16 +0000 Date: Fri, 17 Jan 2014 10:04:54 +0800 From: Huang Shijie To: Brian Norris Subject: Re: [PATCH] mtd: m25p80: Use OPCODE_QUAD_READ_4B for 4-byte addressing Message-ID: <20140117020453.GC27652@shlinux2.ap.freescale.net> References: <1389800935-6468-1-git-send-email-geert@linux-m68k.org> <201401160109.34499.marex@denx.de> <20140116210529.GF8919@ld-irv-0074> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20140116210529.GF8919@ld-irv-0074> Cc: Marek Vasut , Geert Uytterhoeven , Geert Uytterhoeven , linux-mtd@lists.infradead.org, Sourav Poddar , David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jan 16, 2014 at 01:05:29PM -0800, Brian Norris wrote: > On Thu, Jan 16, 2014 at 01:09:34AM +0100, Marek Vasut wrote: > > On Wednesday, January 15, 2014 at 04:48:55 PM, Geert Uytterhoeven wrote: > > > From: Geert Uytterhoeven > > > > > > commit 3487a63955c34ea508bcf4ca5131ddd953876e2d ("drivers: mtd: m25p80: add > > > quad read support") in -next added both the 3-byte OPCODE_QUAD_READ and the > > > 4-byte OPCODE_QUAD_READ_4B, but incorrectly uses OPCODE_QUAD_READ for both > > > 3-byte and 4-byte addressing. > > > > > > Use OPCODE_QUAD_READ_4B in the 4-byte case to fix this. > > Wow, I noticed this and had a patch privately queued over a month ago > for this, but I forgot to send it out... Thanks for noticing! > > > > Signed-off-by: Geert Uytterhoeven > > > > Looks all right. > > > > Acked-by: Marek Vasut > > Pushed to l2-mtd.git. this is a bad news to me. I have to send out a new version for the SPI NOR framework. could this patch be merged after my spi-nor patch set? or create a new patch based on the spi-nor framework. thanks Huang Shijie