summaryrefslogtreecommitdiffstats
path: root/nic3com.c
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-03-19 17:17:06 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-03-19 17:17:06 +0000
commitfe0b83e514a0bc721971f8bf86ed3593540f4393 (patch)
treeda9d3b5f589abf8e14a7f1ad0571c0a12bd0ff19 /nic3com.c
parent91c6971d1a8bbff35cb9cee30316ae00da8909d9 (diff)
downloadflashrom-fe0b83e514a0bc721971f8bf86ed3593540f4393.zip
flashrom-fe0b83e514a0bc721971f8bf86ed3593540f4393.tar.gz
linux_spi: Stop messing up the units of SPI speed
'speed' is stored in Hz, so rename the variable to 'speed_hz' to clarify any potential confusion. Also, when printing the speed after setting it with an ioctl, convert it to kHz to match the units given in the message. Corresponding to flashrom svn r1769. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'nic3com.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud