summaryrefslogtreecommitdiffstats
path: root/pony_spi.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
commit69dd09d8818b338743e796276c9d39ff78ed5065 (patch)
treeda9d3b5f589abf8e14a7f1ad0571c0a12bd0ff19 /pony_spi.c
parentd29806ffdefe2334de7bb5782ed08ade6d9712af (diff)
downloadast2050-flashrom-69dd09d8818b338743e796276c9d39ff78ed5065.zip
ast2050-flashrom-69dd09d8818b338743e796276c9d39ff78ed5065.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 'pony_spi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud