aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2021-05-13 15:49:54 +0100
committerRui Salvaterra <rsalvaterra@gmail.com>2021-05-14 08:46:45 +0100
commit6a57e1fbfc39a47e8a2dbe243953c7fc5e3fa4dc (patch)
treebf6c49356f19f3283839669b359ed9a77f4622fc /target/linux/ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch
parent678001989261618cb834050c7a08ec07671f6c94 (diff)
downloadupstream-6a57e1fbfc39a47e8a2dbe243953c7fc5e3fa4dc.tar.gz
upstream-6a57e1fbfc39a47e8a2dbe243953c7fc5e3fa4dc.tar.bz2
upstream-6a57e1fbfc39a47e8a2dbe243953c7fc5e3fa4dc.zip
kernel: bump 5.10 to 5.10.36
Automatically refreshed: apm821xx/patches-5.10/802-usb-xhci-force-msi-renesas-xhci.patch ath79/patches-5.10/410-spi-ath79-Implement-the-spi_mem-interface.patch bcm63xx/patches-5.10/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch generic/pending-5.10/465-m25p80-mx-disable-software-protection.patch ipq806x/patches-5.10/0069-arm-boot-add-dts-files.patch ipq806x/patches-5.10/101-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch ipq806x/patches-5.10/106-5.13-net-stmmac-Set-FIFO-sizes-for-ipq806x.patch Deleted (empty or reverse-appliable): ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch ath79/patches-5.10/0050-spi-ath79-remove-spi-master-setup-and-cleanup-assign.patch ath79/patches-5.10/0054-spi-sync-up-initial-chipselect-state.patch Manually refreshed: ath79/patches-5.10/0033-spi-ath79-drop-pdata-support.patch Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch')
-rw-r--r--target/linux/ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch b/target/linux/ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch
deleted file mode 100644
index 0a81ecd6f7..0000000000
--- a/target/linux/ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 55e2fff639d4297ffeb478113aef6d3e26c2c4c2 Mon Sep 17 00:00:00 2001
-From: David Bauer <mail@david-bauer.net>
-Date: Wed, 17 Feb 2021 02:44:55 +0100
-Subject: [PATCH 1/2] spi: ath79: add SPI_MASTER_GPIO_SS flag
-
-Add the SPI_MASTER_GPIO_SS flag for the spi-ath79 driver. Otherwise,
-the custom chipselect function is never called. This breaks hardware,
-where the three dedicated chipselect lines are used instead of generic
-GPIO pins.
-
-Fixes commit 4a07b8bcd503 ("spi: bitbang: Make chipselect callback optional")
-
-Signed-off-by: David Bauer <mail@david-bauer.net>
----
- drivers/spi/spi-ath79.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/spi/spi-ath79.c
-+++ b/drivers/spi/spi-ath79.c
-@@ -186,6 +186,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;