mtd: m25p80: Fix JEDEC ID for AT26DF321

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Jan 6 10:59:04 EST 2011


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8fffed8cfdd511056cb17c70f525017fbb643b94
Commit:     8fffed8cfdd511056cb17c70f525017fbb643b94
Parent:     24ac9a94f9e21ea71d877b0c80867d625b68bec2
Author:     Aleksandr Koltsoff <aleksandr.koltsoff at ebts.fi>
AuthorDate: Tue Jan 4 10:42:35 2011 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu Jan 6 15:34:02 2011 +0000

    mtd: m25p80: Fix JEDEC ID for AT26DF321
    
    The last byte of the ID should be zero for this chip. Was added in
    commit d0e8c47c58575b9131e786edb488fd029eba443e . Reported by Tomi
    Varjo.
    
    Signed-off-by: Aleksandr Koltsoff <aleksandr.koltsoff at ebts.fi>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/devices/m25p80.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 9c59ff6..e4eba6c 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -653,7 +653,7 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "at26f004",   INFO(0x1f0400, 0, 64 * 1024,  8, SECT_4K) },
 	{ "at26df081a", INFO(0x1f4501, 0, 64 * 1024, 16, SECT_4K) },
 	{ "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
-	{ "at26df321",  INFO(0x1f4701, 0, 64 * 1024, 64, SECT_4K) },
+	{ "at26df321",  INFO(0x1f4700, 0, 64 * 1024, 64, SECT_4K) },
 
 	/* EON -- en25pxx */
 	{ "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },



More information about the linux-mtd-cvs mailing list