spi: atmel-quadspi: Remove default mode setting at probe time
authorAlexander Dahl <ada@thorsis.com>
Thu, 23 Jan 2025 12:12:12 +0000 (13:12 +0100)
committerEugen Hristev <eugen.hristev@linaro.org>
Wed, 12 Feb 2025 08:29:33 +0000 (10:29 +0200)
commit6c1ec6746054b346df3c03c7f6121be0c6d55ddd
tree3ddeef26a837290942d373f3f6ee321675e67776
parent5095ae1510317b0856674c7844d8f0f5fa0e1418
spi: atmel-quadspi: Remove default mode setting at probe time

The Serial Memory Mode (SMM) is enabled with atmel_qspi_set_cfg() on
each invocation of atmel_qspi_exec_op().  Setting SMM through
atmel_qspi_init() at probe time is redundant.

Removing the SMM setting at probe time should therefore 1) be safe to do
and 2) allows for setting it to a different value in a future
implementation of .xfer() which needs to disable SMM.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
drivers/spi/atmel-quadspi.c