diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-03-03 18:09:33 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-03-03 18:09:33 +0000 |
commit | ce147339a86c9f5e857dee2f7dba0b2b00f3677c (patch) | |
tree | 3460628ca2658848c6e213b80684aa44fb70e2d4 /programmer.h | |
parent | 10c8ce7b45ce8c941f4b568f116758fafd17ea9c (diff) | |
download | flashrom-ce147339a86c9f5e857dee2f7dba0b2b00f3677c.zip flashrom-ce147339a86c9f5e857dee2f7dba0b2b00f3677c.tar.gz |
linux_spi.c: set SPI mode, bit order and bits per word on init
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().
Tested-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Corresponding to flashrom svn r1512.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'programmer.h')
0 files changed, 0 insertions, 0 deletions