diff options
author | 2019-10-18 17:29:29 +0200 | |
---|---|---|
committer | 2019-10-18 18:23:43 +0100 | |
commit | 3e5ec1db8bfee845d9f8560d1c64aeaccd586398 (patch) | |
tree | fc9119f21fe58116693061ad364eb7985eb3e639 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | spi: pxa2xx: Set controller->max_transfer_size in dma mode (diff) | |
download | wireguard-linux-3e5ec1db8bfee845d9f8560d1c64aeaccd586398.tar.xz wireguard-linux-3e5ec1db8bfee845d9f8560d1c64aeaccd586398.zip |
spi: Fix SPI_CS_HIGH setting when using native and GPIO CS
When improving the CS GPIO support at core level, the SPI_CS_HIGH
has been enabled for all the CS lines used for a given SPI controller.
However, the SPI framework allows to have on the same controller native
CS and GPIO CS. The native CS may not support the SPI_CS_HIGH, so they
should not be setup automatically.
With this patch the setting is done only for the CS that will use a
GPIO as CS
Fixes: f3186dd87669 ("spi: Optionally use GPIO descriptors for CS GPIOs")
Cc: <stable@vger.kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://lore.kernel.org/r/20191018152929.3287-1-gregory.clement@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions