This is a successor to my single patch [0] "spi: realtek-rtl: Fix clearing some register bits" Changes since v1 at [0]: - Added new patch to enable compile testing for the spi-realtek-rtl driver. This makes it easier to verify coding style changes (such as patch #2 in this series) where the binary result is not supposed to change. - Updated the original patch to drop the RTL_SPI_SFCSR_CS change as it's not fully clear why that code is written as-is (and due to lack of hardware I am unable to runtime test the changes). Also move the ~ operator from the RTL_SPI_SFCSR_LEN_MASK definition to the place where it's used. Thanks to Sander for spotting the mistake in my initial patch! [0] https://lore.kernel.org/lkml/78673dc7438a03bf9ed0103a935abf0172f146ce.camel@xxxxxxxxxxxxx/T/ Martin Blumenstingl (2): spi: realtek-rtl: Add compile testing support spi: realtek-rtl: Improve readability when clearing the size mask drivers/spi/Kconfig | 9 +++++++++ drivers/spi/Makefile | 2 +- drivers/spi/spi-realtek-rtl.c | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) -- 2.37.1