You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
focal-spi-kmod/SOURCES/focal_spi_cs_high.patch

12 lines
326 B

--- focal_spi.c.orig 2024-06-28 14:09:39.000000000 +0300
+++ focal_spi.c 2024-11-07 18:59:57.322296546 +0300
@@ -489,7 +489,7 @@
/* Set up SPI*/
spi->max_speed_hz=4*1000*1000;
spi->bits_per_word = 8;
- spi->mode = SPI_MODE_0|SPI_CS_HIGH;
+ spi->mode = SPI_MODE_0;
error = spi_setup(spi);
if (error)
return error;