summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorSteve Wilkins <steve.wilkins@raymarine.com>2024-07-15 14:13:53 +0300
committerMark Brown <broonie@kernel.org>2024-07-15 21:08:16 +0300
commit22fd98c107c792e35db7abe45298bc3a29bf4723 (patch)
tree7577777dd366a3dc9ebb70acedfd6be8d73ea119 /scripts/gdb/linux/lists.py
parent502a582b8dd897d9282db47c0911d5320ef2e6b9 (diff)
downloadlinux-22fd98c107c792e35db7abe45298bc3a29bf4723.tar.xz
spi: microchip-core: defer asserting chip select until just before write to TX FIFO
Setting up many of the registers for a new SPI transfer requires the SPI controller to be disabled after set_cs() has been called to assert the chip select line. However, disabling the controller results in the SCLK and MOSI output pins being tristate, which can cause clock transitions to be seen by a slave device whilst SS is active. To fix this, the CS is only set to inactive inline, whilst setting it active is deferred until all registers are set up and the any controller disables have been completed. Fixes: 9ac8d17694b6 ("spi: add support for microchip fpga spi controllers") Signed-off-by: Steve Wilkins <steve.wilkins@raymarine.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20240715-sanitizer-recant-dd96b7a97048@wendy Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions