[patch 1/3] mtd: m25p80: convert to device table matching

Anton Vorontsov avorontsov at ru.mvista.com
Wed Sep 23 16:04:25 EDT 2009


On Wed, Sep 23, 2009 at 12:51:05PM -0700, Andrew Morton wrote:
> On Tue, 22 Sep 2009 16:53:01 -0700
> akpm at linux-foundation.org wrote:
> 
> > Convert the m25p80 driver so that now it uses .id_table for device
> > matching, making it properly detect devices on OpenFirmware platforms
> > (prior to this patch the driver misdetected non-JEDEC chips, seeing all
> > chips as "m25p80").
> > 
> > Also, now jedec_probe() only does jedec probing, nothing else.  If it is
> > not able to detect a chip, NULL is returned and the driver fall backs to
> > the information specified by the platform (platform_data, or exact ID).
> 
> OK, I am now officially fed up with fixing the tremendous reject which
> this patch tosses each time someone fiddles with the device table in
> drivers/mtd/devices/m25p80.c

> (which seems to happen at about 38Hz).

:-)

> I sent it and now I'll drop it.  Sorry.

No problem, the main thing is that SPI patches went in.
I'll rebase m25p80 patches and send them to David.

Thanks a lot Andrew!

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the linux-mtd mailing list