From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] sst25l.c: simplify reading the device ManID/DevID From: Artem Bityutskiy To: H Hartley Sweeten In-Reply-To: <0D753D10438DA54287A00B0270842697636D85BD7C@AUSP01VMBX24.collaborationhost.net> References: <0D753D10438DA54287A00B0270842697636D85BD7C@AUSP01VMBX24.collaborationhost.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 29 Apr 2010 08:36:38 +0300 Message-ID: <1272519398.7750.67.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: David Woodhouse , "ryan@bluewatersys.com" , "andre@bluewatersys.com" , "linux-mtd@lists.infradead.org" , Linux Kernel Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2010-04-20 at 18:17 -0500, H Hartley Sweeten wrote: > The Read-ID command will continuously output the Manufacture ID and Device ID > until the command is terminated by a low to high transition on the CE# pin. > We can take advantage of this in the sst25l_match_device routine by reading > both bytes in one spi_write_then_read transaction. > > Signed-off-by: H Hartley Sweeten > Cc: David Woodhouse > Cc: Andre Renaud > Cc: Ryan Mallon Pushed to l2-mtd-2.6.git / dunno. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)