summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx.h
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2014-11-17 16:17:03 +0100
committerMark Brown <broonie@kernel.org>2014-11-18 15:45:02 +0100
commitfcc50e5cd2deb8316d19e446d8efdfc9b35646ef (patch)
tree578691ec08d21ac98b5e0982c56bee72e65fa002 /drivers/spi/spi-pxa2xx.h
parentLinux 3.18-rc1 (diff)
downloadlinux-fcc50e5cd2deb8316d19e446d8efdfc9b35646ef.tar.xz
linux-fcc50e5cd2deb8316d19e446d8efdfc9b35646ef.zip
spi: sirf: assign spi_master's max_speed_hz member
if spi device has no frequency, spi core will setup the default frequency to max_speed_hz of spi_master according to int spi_setup(struct spi_device *spi) { ... if (!spi->max_speed_hz) spi->max_speed_hz = spi->master->max_speed_hz; ... } this patch moves CSR SiRFSoC SPI frequency set to follow SPI core behaviour. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
0 files changed, 0 insertions, 0 deletions