summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sh-hspi.c
diff options
context:
space:
mode:
authorStefan Sørensen <stefan.sorensen@spectralink.com>2014-02-02 16:24:12 +0100
committerMark Brown <broonie@linaro.org>2014-02-03 19:25:48 +0100
commit2bd16e3e23d9df41592c6b257c59b6860a9cc3ea (patch)
tree17aac9813e1eefefe83a5b30038dd525f93fe1e1 /drivers/spi/spi-sh-hspi.c
parentLinus 3.14-rc1 (diff)
downloadlinux-2bd16e3e23d9df41592c6b257c59b6860a9cc3ea.tar.xz
linux-2bd16e3e23d9df41592c6b257c59b6860a9cc3ea.zip
spi: omap2-mcspi: Do not configure the controller on each transfer unless needed
spi_transfer->speed_hz and spi_transfer->bits_per_word used to only be set when not using the default settings but are not set on every transfer, causing omap2_mcspi_setup_transfer to be called on each transfer. This patch changes the check to only call omap2_mcspi_setup_transfer if the settings needs to be changed. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-sh-hspi.c')
0 files changed, 0 insertions, 0 deletions