mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
spi: sirf: cleanup the indentation of marcos
let "#define" statement keep same indentation. the old code layout is pretty ugly. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0021d97334
commit
9593e61582
@ -62,15 +62,15 @@
|
||||
#define SIRFSOC_SPI_TRAN_DAT_FORMAT_12 (1 << 26)
|
||||
#define SIRFSOC_SPI_TRAN_DAT_FORMAT_16 (2 << 26)
|
||||
#define SIRFSOC_SPI_TRAN_DAT_FORMAT_32 (3 << 26)
|
||||
#define SIRFSOC_SPI_CMD_BYTE_NUM(x) ((x & 3) << 28)
|
||||
#define SIRFSOC_SPI_ENA_AUTO_CLR BIT(30)
|
||||
#define SIRFSOC_SPI_MUL_DAT_MODE BIT(31)
|
||||
#define SIRFSOC_SPI_CMD_BYTE_NUM(x) ((x & 3) << 28)
|
||||
#define SIRFSOC_SPI_ENA_AUTO_CLR BIT(30)
|
||||
#define SIRFSOC_SPI_MUL_DAT_MODE BIT(31)
|
||||
|
||||
/* Interrupt Enable */
|
||||
#define SIRFSOC_SPI_RX_DONE_INT_EN BIT(0)
|
||||
#define SIRFSOC_SPI_TX_DONE_INT_EN BIT(1)
|
||||
#define SIRFSOC_SPI_RX_OFLOW_INT_EN BIT(2)
|
||||
#define SIRFSOC_SPI_TX_UFLOW_INT_EN BIT(3)
|
||||
#define SIRFSOC_SPI_RX_DONE_INT_EN BIT(0)
|
||||
#define SIRFSOC_SPI_TX_DONE_INT_EN BIT(1)
|
||||
#define SIRFSOC_SPI_RX_OFLOW_INT_EN BIT(2)
|
||||
#define SIRFSOC_SPI_TX_UFLOW_INT_EN BIT(3)
|
||||
#define SIRFSOC_SPI_RX_IO_DMA_INT_EN BIT(4)
|
||||
#define SIRFSOC_SPI_TX_IO_DMA_INT_EN BIT(5)
|
||||
#define SIRFSOC_SPI_RXFIFO_FULL_INT_EN BIT(6)
|
||||
@ -79,7 +79,7 @@
|
||||
#define SIRFSOC_SPI_TXFIFO_THD_INT_EN BIT(9)
|
||||
#define SIRFSOC_SPI_FRM_END_INT_EN BIT(10)
|
||||
|
||||
#define SIRFSOC_SPI_INT_MASK_ALL 0x1FFF
|
||||
#define SIRFSOC_SPI_INT_MASK_ALL 0x1FFF
|
||||
|
||||
/* Interrupt status */
|
||||
#define SIRFSOC_SPI_RX_DONE BIT(0)
|
||||
|
Loading…
Reference in New Issue
Block a user