]> git.baikalelectronics.ru Git - kernel.git/commit
spi: atmel-quadspi: cache MR value to avoid a write access
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 5 Feb 2019 17:33:06 +0000 (17:33 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 6 Feb 2019 17:16:41 +0000 (17:16 +0000)
commit2e7cd5fe4890a0a2fb8d683998b604fab9828176
treee3aa565d7a1c4f620f0041f38cced7c1edd005ef
parent87108e49caad6e200babefdf09f4a137ce30a2d8
spi: atmel-quadspi: cache MR value to avoid a write access

Set the controller by default in Serial Memory Mode (SMM) at probe.
Cache Mode Register (MR) value to avoid write access when setting
the controller in serial memory mode at exec_op().

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/atmel-quadspi.c