Commit ca105398 authored by Rayagonda Kokatanur's avatar Rayagonda Kokatanur Committed by Mark Brown

spi: bcm-qspi: Make BSPI default mode

The spi-nor controller defaults to BSPI mode, hence switch back
to its default mode after MSPI operations (write or erase)
are completed.
Signed-off-by: default avatarRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Reviewed-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarKamal Dasu <kdasu.kdev@gmail.com>
Link: https://lore.kernel.org/r/1567139325-7912-1-git-send-email-rayagonda.kokatanur@broadcom.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent ace55c41
...@@ -897,6 +897,7 @@ static int bcm_qspi_transfer_one(struct spi_master *master, ...@@ -897,6 +897,7 @@ static int bcm_qspi_transfer_one(struct spi_master *master,
read_from_hw(qspi, slots); read_from_hw(qspi, slots);
} }
bcm_qspi_enable_bspi(qspi);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment