summaryrefslogtreecommitdiffstats
path: root/drkaiser.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-03-03 18:09:33 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-03-03 18:09:33 +0000
commit2c3e9d5f57b8f2c33bda30dcac043c1b31089183 (patch)
tree3460628ca2658848c6e213b80684aa44fb70e2d4 /drkaiser.c
parentccd71c21222cd73c55284265d306d52e88d8c6c8 (diff)
downloadast2050-flashrom-2c3e9d5f57b8f2c33bda30dcac043c1b31089183.zip
ast2050-flashrom-2c3e9d5f57b8f2c33bda30dcac043c1b31089183.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(). 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 'drkaiser.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud