diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2013-06-28 11:43:34 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 11:37:13 +0100 |
commit | 4870c2170d91f33a1a90bd5b1d7c5534332f30f2 (patch) | |
tree | e90cebf47b20d077160f47c253a8a34310988738 /tools/perf/scripts/python/netdev-times.py | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 (diff) |
spi: spi-ep93xx: always handle transfer specific settings
__spi_async(), which starts every SPI message transfer, initializes
the bits_per_word and max speed for every transfer in the message.
Since the conditional test in ep93xx_spi_process_transfer() will
always succeed just remove it and always call ep93xx_spi_chip_setup()
to configure the hardware for each transfer in the message.
Remove the redundant ep93xx_spi_chp_setup() in ep93xx_spi_process_transfer()
which just initializes the hardware to the "default" based on the SPI
device.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions