Skip to content

Commit

Permalink
mtd: spi-nor: atmel-quaspi: Typo fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Piotr Bugalski authored and Mark Brown committed Nov 7, 2018
1 parent 6510223 commit b82ab1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/spi-nor/atmel-quadspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#define QSPI_CR_LASTXFER BIT(24)

/* Bitfields in QSPI_MR (Mode Register) */
#define QSPI_MR_SSM BIT(0)
#define QSPI_MR_SMM BIT(0)
#define QSPI_MR_LLB BIT(1)
#define QSPI_MR_WDRBT BIT(2)
#define QSPI_MR_SMRM BIT(3)
Expand Down Expand Up @@ -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_SSM;
mr = QSPI_MR_NBBITS(8) | QSPI_MR_SMM;
qspi_writel(aq, QSPI_MR, mr);

src_rate = clk_get_rate(aq->clk);
Expand Down

0 comments on commit b82ab1c

Please sign in to comment.