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.4 to 5.4.69
[openwrt/openwrt.git]
/
target
/
linux
/
bcm27xx
/
patches-5.4
/
950-0653-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
diff --git
a/target/linux/bcm27xx/patches-5.4/950-0653-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
b/target/linux/bcm27xx/patches-5.4/950-0653-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
index c67037e7440798e69e32c7fe84fe773a3dece578..c6dfba6e431a7dfad446aa5dd5e166d4c7a496c5 100644
(file)
--- a/
target/linux/bcm27xx/patches-5.4/950-0653-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
+++ b/
target/linux/bcm27xx/patches-5.4/950-0653-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
@@
-23,7
+23,7
@@
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
-@@ -305
3,6 +3053
,7 @@ static int __spi_validate_bits_per_word(
+@@ -305
8,6 +3058
,7 @@ static int __spi_validate_bits_per_word(
*/
int spi_setup(struct spi_device *spi)
{
*/
int spi_setup(struct spi_device *spi)
{
@@
-31,7
+31,7
@@
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
unsigned bad_bits, ugly_bits;
int status;
unsigned bad_bits, ugly_bits;
int status;
-@@ -307
0,6 +3071
,14 @@ int spi_setup(struct spi_device *spi)
+@@ -307
5,6 +3076
,14 @@ int spi_setup(struct spi_device *spi)
(SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL |
SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL)))
return -EINVAL;
(SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL |
SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL)))
return -EINVAL;