diff options
author | Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> | 2019-08-30 07:28:45 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-30 14:42:20 +0300 |
commit | ca105398430de8c11e5e56a7bbfb00746ac5a268 (patch) | |
tree | 1c0c59ca088ae89518deea8f8924e11851686e4a | |
parent | ace55c411b11d9b12f500c7433bf469c26130182 (diff) | |
download | linux-ca105398430de8c11e5e56a7bbfb00746ac5a268.tar.xz |
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: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Kamal Dasu <kdasu.kdev@gmail.com>
Link: https://lore.kernel.org/r/1567139325-7912-1-git-send-email-rayagonda.kokatanur@broadcom.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-bcm-qspi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-bcm-qspi.c b/drivers/spi/spi-bcm-qspi.c index 0dbfd2496ab8..7a3531856491 100644 --- a/drivers/spi/spi-bcm-qspi.c +++ b/drivers/spi/spi-bcm-qspi.c @@ -897,6 +897,7 @@ static int bcm_qspi_transfer_one(struct spi_master *master, read_from_hw(qspi, slots); } + bcm_qspi_enable_bspi(qspi); return 0; } |