Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1f5862f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "spi: spi_qsd: Fix the CS logic for multi transfers"

parents 045c4682 0510037f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1523,6 +1523,9 @@ static inline void msm_spi_set_cs(struct spi_device *spi, bool set_flag)
	u32 spi_ioc;
	u32 spi_ioc_orig;

	if (!(spi->mode & SPI_CS_HIGH))
		set_flag = !set_flag;

	spi_ioc = readl_relaxed(dd->base + SPI_IO_CONTROL);
	spi_ioc_orig = spi_ioc;
	if (set_flag)