OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6510223
)
mtd: spi-nor: atmel-quaspi: Typo fix
author
Piotr Bugalski
<bugalski.piotr@gmail.com>
Mon, 5 Nov 2018 10:36:20 +0000
(11:36 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 7 Nov 2018 13:18:29 +0000
(13:18 +0000)
Just minor typo fix. Fixed in preparation of new driver.
Signed-off: Piotr Bugalski <bugalski.piotr@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/mtd/spi-nor/atmel-quadspi.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi-nor/atmel-quadspi.c
b/drivers/mtd/spi-nor/atmel-quadspi.c
index
8200487
..
1c5ba8f
100644
(file)
--- a/
drivers/mtd/spi-nor/atmel-quadspi.c
+++ b/
drivers/mtd/spi-nor/atmel-quadspi.c
@@
-67,7
+67,7
@@
#define QSPI_CR_LASTXFER BIT(24)
/* Bitfields in QSPI_MR (Mode Register) */
-#define QSPI_MR_S
S
M BIT(0)
+#define QSPI_MR_S
M
M BIT(0)
#define QSPI_MR_LLB BIT(1)
#define QSPI_MR_WDRBT BIT(2)
#define QSPI_MR_SMRM BIT(3)
@@
-563,7
+563,7
@@
static int atmel_qspi_init(struct atmel_qspi *aq)
qspi_writel(aq, QSPI_CR, QSPI_CR_SWRST);
/* Set the QSPI controller in Serial Memory Mode */
- mr = QSPI_MR_NBBITS(8) | QSPI_MR_S
S
M;
+ mr = QSPI_MR_NBBITS(8) | QSPI_MR_S
M
M;
qspi_writel(aq, QSPI_MR, mr);
src_rate = clk_get_rate(aq->clk);