Skip to content

Commit b6cef6f

Browse files
smalaenashif
authored andcommitted
drivers: spi: siwx91x: Align mosi_overrun to 32 bytes
Updated mosi_overrun alignment from 4 bytes to 32 bytes to ensure compatibility with the GPDMA driver. This prevents alignment-related errors during DMA transfers. Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
1 parent 9ebba68 commit b6cef6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi_silabs_siwx91x_gspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct gspi_siwx91x_config {
4949
const struct device *clock_dev;
5050
clock_control_subsys_t clock_subsys;
5151
const struct pinctrl_dev_config *pcfg;
52-
uint8_t mosi_overrun __aligned(4);
52+
uint8_t mosi_overrun __aligned(32);
5353
};
5454

5555
struct gspi_siwx91x_data {

0 commit comments

Comments
 (0)