diff options
author | Simon Glass <sjg@chromium.org> | 2015-06-05 14:39:33 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-06-09 09:56:13 -0700 |
commit | 635c2515c398241f59c5936213308ce9709fc475 (patch) | |
tree | 1884ffbf8d2c6639e1c509e0e345a678c0007c1f /arch/arm | |
parent | bbe0d4db53e30affae1194882075e1e0997c4c5c (diff) | |
download | u-boot-635c2515c398241f59c5936213308ce9709fc475.tar.gz u-boot-635c2515c398241f59c5936213308ce9709fc475.tar.xz u-boot-635c2515c398241f59c5936213308ce9709fc475.zip |
tegra: spi: Drop the claim_bus() method to correct delays
At present the driver does not properly honour the requested SPI CS
deactivation delay since the SPI bus is changed in the claim_bus() method.
Everything the claim_bus() method does can be done when the device is probed
(setting the speed and mode) and at the start of a new transfer (where the
fifo_status is already cleared). So drop this method.
Also, until the delay is complete, we should not touch the bus, so make sure
that spi_cs_activate() is called before other things are done in the xfer()
method.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions