Thread (43 messages) 43 messages, 11 authors, 2010-07-08

Re: [PATCH 1/2] mtd: m25p80: Fix false-positive probing

From: Mike Frysinger <hidden>
Date: 2010-06-22 17:56:25
Also in: lkml

On Tue, Jun 22, 2010 at 12:57, Anton Vorontsov wrote:
Since commit 18c6182bae0acca220ed6611f741034d563cd19f ("Rework
probing/JEDEC code"), m25p80 driver successfully registers chips
even if JEDEC probing fails.

This was needed to support non-JEDEC flashes. Though, it appears
that some platforms (e.g. blackfin bf533 stamp[1]) used the old
behavior to detect if there's any flash connected, so the driver
have to fail on JEDEC probing errors.

This patch restores the old behavior for JEDEC flashes, and adds
"-nonjedec" SPI device IDs for M25Pxx flashes, so that the kernel
still supports non-JEDEC flashes.
Acked-by: Mike Frysinger <redacted>
[1] http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=5975
http://blackfin.uclinux.org/gf/tracker/5975
Reported-by: Mingquan Pan
[off-list ref]
-mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help