]> git.baikalelectronics.ru Git - kernel.git/commit
mtd_dataflash: fix probing of AT45DB321C chips.
authorWill Newton <will.newton@gmail.com>
Tue, 10 Mar 2009 19:55:53 +0000 (12:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Mar 2009 22:55:11 +0000 (15:55 -0700)
commitf2250fda1d93fbadbc192307545c98e1281c87f9
tree16816a73113a9f6f961b569c2a09c70a5b075607
parentf3560e763af0a504fe678ca9f09ae2a148def2c7
mtd_dataflash: fix probing of AT45DB321C chips.

Commit c7e9f849de39bb8a1a9ee7665a28fae1f4f2d5a4 ("[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.

[akpm@linux-foundation.org: coding-style fixes]
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mtd/devices/mtd_dataflash.c