diff options
author | Dan Sneddon <dan.sneddon@microchip.com> | 2021-06-29 12:22:18 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-11 23:44:39 +0100 |
commit | 69e1818ad27bae167eeaaf6829d4a08900ef5153 (patch) | |
tree | d19ce7d3622ee440dcd766586a35d9fc53b20364 /scripts/clang-tools/gen_compile_commands.py | |
parent | 7999d2555c9f879d006ea8469d74db9cdb038af0 (diff) |
spi: atmel: Fix CS and initialization bug
Commit 5fa5e6dec762 ("spi: atmel: Switch to transfer_one transfer
method") switched to using transfer_one and set_cs. The
core doesn't call set_cs when the chip select lines are gpios. Add the
SPI_MASTER_GPIO_SS flag to the driver to ensure the calls to set_cs
happen since the driver programs configuration registers there.
Fixes: 5fa5e6dec762 ("spi: atmel: Switch to transfer_one transfer method")
Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com>
Link: https://lore.kernel.org/r/20210629192218.32125-1-dan.sneddon@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions