X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbcm27xx%2Fpatches-5.4%2F950-0653-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch;h=69602fa17eeddb619dea4d904ba17ff9a8367a08;hb=4420ddaa5893acf524577b05bb0871e6f9d8735c;hp=c6dfba6e431a7dfad446aa5dd5e166d4c7a496c5;hpb=18a53d43d646290053eff4736ec852efcf6bf510;p=openwrt%2Fstaging%2Frmilecki.git 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 c6dfba6e431..69602fa17ee 100644 --- 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 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c -@@ -3058,6 +3058,7 @@ static int __spi_validate_bits_per_word( +@@ -3114,6 +3114,7 @@ static int __spi_validate_bits_per_word( */ int spi_setup(struct spi_device *spi) { @@ -31,7 +31,7 @@ Signed-off-by: Phil Elwell unsigned bad_bits, ugly_bits; int status; -@@ -3075,6 +3076,14 @@ int spi_setup(struct spi_device *spi) +@@ -3131,6 +3132,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;