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 16:53:56 +0000 (18:53 +0200)
commitb7f0fc1f06155e55ad7c0b3e245a6fd39ca0b6e3
treeeab314f2faa831e560ba473ecd3499ad5b72f999
parentd18c3d2304de3c099f147ece9f757767e2eaeef1
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