From a7ba5045b4ced1b146cf041b89aa09130fecb62e Mon Sep 17 00:00:00 2001 From: Siva Durga Prasad Paladugu Date: Wed, 29 Jun 2016 14:56:12 +0530 Subject: [PATCH] spi: Change data type for flags to u32 Correct the data type for flags variable as declaring it as u8 causes SPI flash issues for generic QSPI support. Signed-off-by: Siva Durga Prasad Paladugu --- include/spi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spi.h b/include/spi.h index 858f1710def..cc6575e2ac0 100644 --- a/include/spi.h +++ b/include/spi.h @@ -147,7 +147,7 @@ struct spi_slave { u8 option; u8 dio; u32 bytemode; - u8 flags; + u32 flags; #define SPI_XFER_BEGIN BIT(0) /* Assert CS before transfer */ #define SPI_XFER_END BIT(1) /* Deassert CS after transfer */ #define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END) -- 2.47.3