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

David Woodhouse dwmw2 at infradead.org
Tue Sep 16 02:51:54 EDT 2008


On Tue, 2008-09-16 at 14:41 +0800, Chen Gong-B11801 wrote:
> you mean I should create a patch based that tree, not torvalds's tree,
> right ?

Yes, please.

> > 
> > 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)

I would like to be sure that we're not going to break on older chips.

-- 
dwmw2




More information about the linux-mtd mailing list