We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd82520 commit 71d3703Copy full SHA for 71d3703
drivers/spi/spi_dw.c
@@ -226,7 +226,7 @@ static int spi_dw_configure(const struct device *dev,
226
}
227
228
/* Word size */
229
- if (info->max_xfer_size == 32) {
+ if (!IS_ENABLED(CONFIG_SPI_DW_HSSI) && (info->max_xfer_size == 32)) {
230
ctrlr0 |= DW_SPI_CTRLR0_DFS_32(SPI_WORD_SIZE_GET(config->operation));
231
} else {
232
ctrlr0 |= DW_SPI_CTRLR0_DFS_16(SPI_WORD_SIZE_GET(config->operation));
0 commit comments