diff options
author | David Bauer <mail@david-bauer.net> | 2021-12-21 22:00:34 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-12-27 03:13:36 +0100 |
commit | 9d9d851eec7da1b9b2c161562c58d81e4e72b77c (patch) | |
tree | 011df2b1fda2dfb56ee9736992ebb9742751c16b /target/linux/ath79/patches-5.4/412-spi-ath79-set-number-of-chipselect-lines.patch | |
parent | 5ca77934180ea277520be0dbbe7d47c47eec2375 (diff) | |
download | upstream-9d9d851eec7da1b9b2c161562c58d81e4e72b77c.tar.gz upstream-9d9d851eec7da1b9b2c161562c58d81e4e72b77c.tar.bz2 upstream-9d9d851eec7da1b9b2c161562c58d81e4e72b77c.zip |
ath79: remove kernel 5.4
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79/patches-5.4/412-spi-ath79-set-number-of-chipselect-lines.patch')
-rw-r--r-- | target/linux/ath79/patches-5.4/412-spi-ath79-set-number-of-chipselect-lines.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/ath79/patches-5.4/412-spi-ath79-set-number-of-chipselect-lines.patch b/target/linux/ath79/patches-5.4/412-spi-ath79-set-number-of-chipselect-lines.patch deleted file mode 100644 index 614bcbcded..0000000000 --- a/target/linux/ath79/patches-5.4/412-spi-ath79-set-number-of-chipselect-lines.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e2e9f6d9f9bd7449ff113c157b639ce1a24b9d3f Mon Sep 17 00:00:00 2001 -From: David Bauer <mail@david-bauer.net> -Date: Sat, 24 Apr 2021 16:14:48 +0200 -Subject: [PATCH 2/2] spi: ath79: set number of chipselect lines - -All chipsets from AR7100 up to QCA9563 have three dedicated chipselect -lines for the integrated SPI controller. Remove the number of -chipselects from the platform data, as there is no need to manually set -this to a different value. - -Signed-off-by: David Bauer <mail@david-bauer.net> ---- - drivers/spi/spi-ath79.c | 2 +- - include/linux/platform_data/spi-ath79.h | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - ---- a/drivers/spi/spi-ath79.c -+++ b/drivers/spi/spi-ath79.c -@@ -187,6 +187,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; -+ master->num_chipselect = 3; - - sp->bitbang.master = master; - sp->bitbang.chipselect = ath79_spi_chipselect; |