projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 5.10 to 5.10.36
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
patches-5.10
/
0033-spi-ath79-drop-pdata-support.patch
diff --git
a/target/linux/ath79/patches-5.10/0033-spi-ath79-drop-pdata-support.patch
b/target/linux/ath79/patches-5.10/0033-spi-ath79-drop-pdata-support.patch
index 8fd99bd3334284bb1148af866d6e34ce355c6170..162a82bda3d2dd3a7aa9e814ae13c3c895592e8d 100644
(file)
--- a/
target/linux/ath79/patches-5.10/0033-spi-ath79-drop-pdata-support.patch
+++ b/
target/linux/ath79/patches-5.10/0033-spi-ath79-drop-pdata-support.patch
@@
-52,7
+52,7
@@
Signed-off-by: John Crispin <john@phrozen.org>
unsigned long rate;
int ret;
unsigned long rate;
int ret;
-@@ -152,1
6 +150,10
@@ static int ath79_spi_probe(struct platfo
+@@ -152,1
5 +150,9
@@ static int ath79_spi_probe(struct platfo
master->dev.of_node = pdev->dev.of_node;
platform_set_drvdata(pdev, sp);
master->dev.of_node = pdev->dev.of_node;
platform_set_drvdata(pdev, sp);
@@
-60,8
+60,7
@@
Signed-off-by: John Crispin <john@phrozen.org>
-
master->use_gpio_descriptors = true;
master->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32);
-
master->use_gpio_descriptors = true;
master->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32);
- master->setup = spi_bitbang_setup;
- master->cleanup = spi_bitbang_cleanup;
+ master->flags = SPI_MASTER_GPIO_SS;
- if (pdata) {
- master->bus_num = pdata->bus_num;
- master->num_chipselect = pdata->num_chipselect;
- if (pdata) {
- master->bus_num = pdata->bus_num;
- master->num_chipselect = pdata->num_chipselect;