spi: bcm-qspi: Make BSPI default mode
authorRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Fri, 30 Aug 2019 04:28:45 +0000 (09:58 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 30 Aug 2019 11:42:20 +0000 (12:42 +0100)
commitca105398430de8c11e5e56a7bbfb00746ac5a268
tree1c0c59ca088ae89518deea8f8924e11851686e4a
parentace55c411b11d9b12f500c7433bf469c26130182
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>
drivers/spi/spi-bcm-qspi.c