summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/omap-spi.txt
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@smile.fr>2017-10-10 11:43:18 +0300
committerMark Brown <broonie@kernel.org>2017-10-10 12:17:06 +0300
commitdd7aa8d4b53b3484ba31ba56f3ff1be7deb38530 (patch)
treeac3480bb36c82d2319bb4820a5b02c9d226521ba /Documentation/devicetree/bindings/spi/omap-spi.txt
parent5a866ec0014b2baa4ecbb1eaa19c835482829d08 (diff)
downloadlinux-dd7aa8d4b53b3484ba31ba56f3ff1be7deb38530.tar.xz
spi: a3700: Change SPI mode before asserting chip-select
The spi device mode should be configured in the controller before the chip-select is asserted, so that a clock polarity configuration change is not interpreted as a clock tick by the device. This patch moves the mode setting to the 'prepare_message' function instead of the 'transfer_one' function. By doing so, this patch also removes redundant code in a3700_spi_clock_set. This was tested on EspressoBin board, with spidev. Signed-off-by: Maxime Chevallier <maxime.chevallier@smile.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/omap-spi.txt')
0 files changed, 0 insertions, 0 deletions