]> 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)
commit8d1e644446a9cdba84fcf25386cebae222921367
treee3aa565d7a1c4f620f0041f38cced7c1edd005ef
parentd968e527648f9ec7c604b19cfb2bfdc75397351d
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