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 | 2c3e9d5f57b8f2c33bda30dcac043c1b31089183 (patch) | |
tree | 3460628ca2658848c6e213b80684aa44fb70e2d4 /atahpt.c | |
parent | ccd71c21222cd73c55284265d306d52e88d8c6c8 (diff) | |
download | flashrom-2c3e9d5f57b8f2c33bda30dcac043c1b31089183.tar.gz flashrom-2c3e9d5f57b8f2c33bda30dcac043c1b31089183.tar.bz2 flashrom-2c3e9d5f57b8f2c33bda30dcac043c1b31089183.zip |
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().
Corresponding to flashrom svn r1512.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Tested-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'atahpt.c')
0 files changed, 0 insertions, 0 deletions