[flashrom] [PATCH] linux_spi.c: set SPI mode, bit order and bits per word on init.

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Sat Mar 3 19:14:46 CET 2012


On Sat,  3 Mar 2012 14:48:34 +0100
Stefan Tauner <stefan.tauner at student.tuwien.ac.at> wrote:

> Previously we relied on a correctly set up state.
> 
> Also, we start to rely on the shutdown function for cleanup after
> registering it, i.e. we no longer explicitly call close(fd) after
> register_shutdown().
> 
> Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
> ---
>  linux_spi.c |   22 +++++++++++++++++++---
>  1 files changed, 19 insertions(+), 3 deletions(-)
> 
> […]

tested by GNUtoo, acked by carldani on IRC and committed in r1512.
thanks everyone involved!

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list