commit | 69dd09d8818b338743e796276c9d39ff78ed5065 | [log] [tgz] |
---|---|---|
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | Wed Mar 19 17:17:06 2014 +0000 |
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | Wed Mar 19 17:17:06 2014 +0000 |
tree | da9d3b5f589abf8e14a7f1ad0571c0a12bd0ff19 | |
parent | d29806ffdefe2334de7bb5782ed08ade6d9712af [diff] |
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>