From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: RE: [PATCH V2] [MTD] m25p80.c extended jedec support From: David Woodhouse To: Chen Gong-B11801 In-Reply-To: References: <1221545652-2280-1-git-send-email-g.chen@freescale.com> <1221546997.3106.54.camel@macbook.infradead.org> Content-Type: text/plain Date: Mon, 15 Sep 2008 23:51:54 -0700 Message-Id: <1221547914.3106.56.camel@macbook.infradead.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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