diff options
author | George Shore <george@georgeshore.com> | 2010-01-21 12:40:52 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-01-21 15:25:32 +0100 |
commit | 052dc7c45d8f685fb3720a08331ba3e91e87937e (patch) | |
tree | b874258f108a2ac2d8dbec12a137562d4ea4b402 /drivers/spi/dw_spi_mmio.c | |
parent | spi/dw_spi: remove conditional from 'poll_transfer'. (diff) | |
download | linux-052dc7c45d8f685fb3720a08331ba3e91e87937e.tar.xz linux-052dc7c45d8f685fb3720a08331ba3e91e87937e.zip |
spi/dw_spi: conditional transfer mode changes
This allows the switching between transfer modes between 'transmit only',
'receive only' and 'transmit and receive' modes. Due to the design of the SPI
block, changing transfer modes requires that the block be disabled; in doing
so the chipselect line is inherently deasserted and (usually) the attached
device discards its state. Consequentially, switching modes requires that a
platform-specific chipselect function has been defined so that the chipselect
is not dropped during the change.
Signed-off-by: George Shore <george@georgeshore.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/dw_spi_mmio.c')
0 files changed, 0 insertions, 0 deletions