[PATCH V2] [MTD] m25p80.c extended jedec support

Chen Gong-B11801 G.Chen at freescale.com
Tue Sep 16 02:41:35 EDT 2008


 

> -----Original Message-----
> From: David Woodhouse [mailto:dwmw2 at infradead.org] 
> Sent: 2008?9?16? 14:37
> To: Chen Gong-B11801
> Cc: linux-mtd at lists.infradead.org
> Subject: Re: [PATCH V2] [MTD] m25p80.c extended jedec support
> 
> On Tue, 2008-09-16 at 14:14 +0800, Chen Gong wrote:
> > BTW, dave, I don't find any other fixes in this file 
> recently. What do
> > you mean something has been there in the git tree, which git tree ?
> 
> http:// or git:// git.infradead.org/mtd-2.6.git
> 
> Most of your patch is already there (and thus also in linux-next).
> Please could we have an incremental patch?

you mean I should create a patch based that tree, not torvalds's tree,
right ?

> 
> What happens if you call spi_write_then_read(spi, x, x, x, 5) on a
> device which is only expecting to return 3 bytes. Does the call return
> failure? Or just pad to 5 bytes with zeroes?

frankly, I'm not sure to much, but from the datasheet I'v read, if CS#
doesn't
be pulled high, it should can read zero or Hi-Z(maybe some mess data)

> 
> -- 
> David Woodhouse                            Open Source 
> Technology Centre
> David.Woodhouse at intel.com                              Intel 
> Corporation
> 
> 



More information about the linux-mtd mailing list