diff options
author | David Bauer <mail@david-bauer.net> | 2021-04-16 18:29:58 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-04-16 20:24:10 +0200 |
commit | 2683eeb627aabc7c01fb46fc5e825ece626aeaa5 (patch) | |
tree | 0fdeccd5f12e194eb8fce09dbf9492cfff3476da /target/linux/ath79/patches-5.10/0051-spi-ath79-always-call-chipselect-function.patch | |
parent | fd5ced246ab623d11593432038a2b1b2468da980 (diff) | |
download | upstream-2683eeb627aabc7c01fb46fc5e825ece626aeaa5.tar.gz upstream-2683eeb627aabc7c01fb46fc5e825ece626aeaa5.tar.bz2 upstream-2683eeb627aabc7c01fb46fc5e825ece626aeaa5.zip |
ath79: remove unused patch
This patch ist not required, as it only has an effect in case the GPIO
descriptors supplied to num-cs are valid.
As this is not the case for ath79, this patch can safely be omitted. The
issue it tried to fix is actually fixed with
0054-spi-sync-up-initial-chipselect-state.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79/patches-5.10/0051-spi-ath79-always-call-chipselect-function.patch')
-rw-r--r-- | target/linux/ath79/patches-5.10/0051-spi-ath79-always-call-chipselect-function.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/ath79/patches-5.10/0051-spi-ath79-always-call-chipselect-function.patch b/target/linux/ath79/patches-5.10/0051-spi-ath79-always-call-chipselect-function.patch deleted file mode 100644 index 746f9035a6..0000000000 --- a/target/linux/ath79/patches-5.10/0051-spi-ath79-always-call-chipselect-function.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: David Bauer <mail@david-bauer.net> -Date: Wed, 17 Feb 2021 02:44:55 +0100 -Subject: [PATCH] spi: ath79: always call chipselect function - -api-bitbang has to call the chipselect function on the ath79 SPI driver -in order to communicate with the SPI slave device. - -Fixes commit 4a07b8bcd503 ("spi: bitbang: Make chipselect callback optional") - -Signed-off-by: David Bauer <mail@david-bauer.net> - ---- a/drivers/spi/spi-ath79.c -+++ b/drivers/spi/spi-ath79.c -@@ -152,6 +152,7 @@ static int ath79_spi_probe(struct platfo - - master->use_gpio_descriptors = true; - master->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32); -+ master->flags = SPI_MASTER_GPIO_SS; - - sp->bitbang.master = master; - sp->bitbang.chipselect = ath79_spi_chipselect; |