[PATCH] sst25l.c: simplify reading the device ManID/DevID
Artem Bityutskiy
dedekind1 at gmail.com
Thu Apr 29 01:36:38 EDT 2010
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 <hsweeten at visionengravers.com>
> Cc: David Woodhouse <dwmw2 at infradead.org>
> Cc: Andre Renaud <andre at bluewatersys.com>
> Cc: Ryan Mallon <ryan at bluewatersys.com>
Pushed to l2-mtd-2.6.git / dunno.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list