diff options
author | Marcus Weseloh <mweseloh42@gmail.com> | 2016-01-05 21:46:20 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-07 15:41:25 +0000 |
commit | 218e0b575ffe6de1c93249871b25bbf570fe1cb5 (patch) | |
tree | 11a31b1449cb713465b52bc2d565a2539ae6b315 /arch/avr32 | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) |
spi: sun4i: Prevent chip-select from being activated twice before a transfer
The SPI core calls set_cs before a transfer, but the SUN4I_CTL_CS_MANUAL
flag is only set in transfer_one. This leads to the following pattern on
the chip-select line (with runtime power-management on every transfer,
without it only on the first one):
activate, deactivate, activate, transfer, deactivate
Moving the configuration of the SUN4I_CTL_CS_MANUAL flag from transfer_one
to set_cs removes the double activation.
Signed-off-by: Marcus Weseloh <mweseloh42@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions