aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/spi/spi-img-spfi.txt
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-11-08 10:28:10 +0000
committerMark Brown <broonie@kernel.org>2014-11-11 18:01:28 +0000
commit9169051617df7fca597274e9e43324332cb8f0ee (patch)
treeb5d32017b56bb8566d30dbb359c7b9948f94e720 /Documentation/devicetree/bindings/spi/spi-img-spfi.txt
parentLinux 3.18-rc3 (diff)
downloadlinux-dev-9169051617df7fca597274e9e43324332cb8f0ee.tar.xz
linux-dev-9169051617df7fca597274e9e43324332cb8f0ee.zip
spi: spidev: Don't mangle max_speed_hz in underlying spi device
Currently spidev allows callers to set the default speed by overriding the max_speed_hz in the underlying device. This achieves the immediate goal but is not what devices expect and can easily lead to userspace trying to set unsupported speeds and succeeding, apart from anything else drivers can't set a limit on the speed using max_speed_hz as they'd expect and any other devices on the bus will be affected. Instead store the default speed in the spidev struct and fill this in on each transfer. Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-img-spfi.txt')
0 files changed, 0 insertions, 0 deletions