projects
/
openwrt
/
staging
/
nbd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 5.15 to 5.15.62
[openwrt/staging/nbd.git]
/
target
/
linux
/
bcm27xx
/
patches-5.15
/
950-0208-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
diff --git
a/target/linux/bcm27xx/patches-5.15/950-0208-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
b/target/linux/bcm27xx/patches-5.15/950-0208-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
index e1765aedcefd8080191c5c5f8fd68e932e6b8e78..7a72dc85764eef85b91eb478b0e2c383fea46dfc 100644
(file)
--- a/
target/linux/bcm27xx/patches-5.15/950-0208-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
+++ b/
target/linux/bcm27xx/patches-5.15/950-0208-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
@@
-32,7
+32,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
-@@ -34
69,6 +3469
,7 @@ static int __spi_validate_bits_per_word(
+@@ -34
78,6 +3478
,7 @@ static int __spi_validate_bits_per_word(
*/
int spi_setup(struct spi_device *spi)
{
*/
int spi_setup(struct spi_device *spi)
{
@@
-40,7
+40,7
@@
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
unsigned bad_bits, ugly_bits;
int status;
unsigned bad_bits, ugly_bits;
int status;
-@@ -349
0,6 +3491
,14 @@ int spi_setup(struct spi_device *spi)
+@@ -349
9,6 +3500
,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;