aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/mt7621-spi
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-02-01 11:17:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-04 12:34:37 +0100
commit376a62202152ac878c7d839657ddc6f3369caaf7 (patch)
tree500c28be1f03419fd1a8c208c74381dc43eecd81 /drivers/staging/mt7621-spi
parentstaging: spi: mt7621: Use recommended comment style (diff)
downloadwireguard-linux-376a62202152ac878c7d839657ddc6f3369caaf7.tar.xz
wireguard-linux-376a62202152ac878c7d839657ddc6f3369caaf7.zip
staging: spi: mt7621: Sort register definitions
This patch sorts the SPI register definitions by increasing addresses. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Mark Brown <broonie@kernel.org> Cc: Sankalp Negi <sankalpnegi2310@gmail.com> Cc: Chuanhong Guo <gch981213@gmail.com> Cc: John Crispin <john@phrozen.org> Reviewd-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-spi')
-rw-r--r--drivers/staging/mt7621-spi/spi-mt7621.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index 00cff75ee7ac..89586a895320 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -36,9 +36,9 @@
#define SPI_CTL_TX_RX_CNT_MASK 0xff
#define SPI_CTL_START BIT(8)
-#define MT7621_SPI_POLAR 0x38
#define MT7621_SPI_MASTER 0x28
#define MT7621_SPI_MOREBUF 0x2c
+#define MT7621_SPI_POLAR 0x38
#define MT7621_SPI_SPACE 0x3c
#define MT7621_CPHA BIT(5)