aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch')
-rw-r--r--target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch b/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch
index 7c171745c2..ed94f937c9 100644
--- a/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch
+++ b/target/linux/generic/pending-4.19/132-spi-spi-gpio-fix-crash-when-num-chipselects-is-0.patch
@@ -43,11 +43,9 @@ Signed-off-by: Petr Štetiar <ynezz@true.cz>
drivers/spi/spi-gpio.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
-diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c
-index 088772ebef9b..57d5b6dc0dd0 100644
--- a/drivers/spi/spi-gpio.c
+++ b/drivers/spi/spi-gpio.c
-@@ -242,10 +242,12 @@ static int spi_gpio_setup(struct spi_device *spi)
+@@ -242,10 +242,12 @@ static int spi_gpio_setup(struct spi_dev
* The CS GPIOs have already been
* initialized from the descriptor lookup.
*/