All of lore.kernel.org
 help / color / mirror / Atom feed
* + mtd_dataflash-fix-probing-of-at45db321c-chips.patch added to -mm tree
@ 2009-03-04 22:22 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2009-03-04 22:22 UTC (permalink / raw)
  To: mm-commits; +Cc: will.newton, dbrownell, dwmw2, stable


The patch titled
     mtd_dataflash: fix probing of AT45DB321C chips.
has been added to the -mm tree.  Its filename is
     mtd_dataflash-fix-probing-of-at45db321c-chips.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mtd_dataflash: fix probing of AT45DB321C chips.
From: Will Newton <will.newton@gmail.com>

Commit 771999b65f79264acde4b855e5d35696eca5e80c ("[MTD] DataFlash: bugfix,
binary page sizes now handled") broke support for probing AT45DB321C flash
chips.  These chips do not support the "page size" status bit, so if we
match the JEDEC id return early.

Signed-off-by: Will Newton <will.newton@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/mtd/devices/mtd_dataflash.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN drivers/mtd/devices/mtd_dataflash.c~mtd_dataflash-fix-probing-of-at45db321c-chips drivers/mtd/devices/mtd_dataflash.c
--- a/drivers/mtd/devices/mtd_dataflash.c~mtd_dataflash-fix-probing-of-at45db321c-chips
+++ a/drivers/mtd/devices/mtd_dataflash.c
@@ -818,6 +818,8 @@ static struct flash_info *__devinit jede
 						return info;
 				}
 			}
+			else
+				return info;
 		}
 	}
 
_

Patches currently in -mm which might be from will.newton@gmail.com are

mtd_dataflash-fix-probing-of-at45db321c-chips.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-04 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-04 22:22 + mtd_dataflash-fix-probing-of-at45db321c-chips.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.