Unverified Commit a2f2db6b authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mark Brown
Browse files

spi: oc-tiny: Use SPI_MODE_X_MASK

parent 56f47edf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ static int tiny_spi_setup(struct spi_device *spi)
		hw->speed_hz = spi->max_speed_hz;
		hw->baud = tiny_spi_baud(spi, hw->speed_hz);
	}
	hw->mode = spi->mode & (SPI_CPOL | SPI_CPHA);
	hw->mode = spi->mode & SPI_MODE_X_MASK;
	return 0;
}