spi: bcm-qspi: Always read and set BSPI_MAST_N_BOOT_CTRL
authorKamal Dasu <kdasu.kdev@gmail.com>
Thu, 26 Apr 2018 18:48:01 +0000 (14:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 May 2018 14:57:56 +0000 (16:57 +0200)
commitad04996f0bb0a2bfc8468c04dacc40aed76de8ae
tree232dc0059ff518ca692bea0c4939a6d094a2377b
parent1c384327383de13223186ec138c57cb49fa1efea
spi: bcm-qspi: Always read and set BSPI_MAST_N_BOOT_CTRL

commit 602805fb618b018b7a41fbb3f93c1992b078b1ae upstream.

Always confirm the BSPI_MAST_N_BOOT_CTRL bit when enabling
or disabling BSPI transfers.

Fixes: 4e3b2d236fe00 ("spi: bcm-qspi: Add BSPI spi-nor flash controller driver")
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-bcm-qspi.c