diff options
author | Kamal Dasu <kdasu.kdev@gmail.com> | 2018-04-26 14:48:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-22 16:57:56 +0200 |
commit | 1c384327383de13223186ec138c57cb49fa1efea (patch) | |
tree | 318e7333d488442d63caeb964e89a9603ad0012b /drivers/spi/spi-cavium.h | |
parent | a436539bc16fdc6cb69cfa069ca0388df8d53d4b (diff) |
spi: bcm-qspi: Avoid setting MSPI_CDRAM_PCS for spi-nor master
commit 5eb9a07a4ae1008b67d8bcd47bddb3dae97456b7 upstream.
Added fix for probing of spi-nor device non-zero chip selects. Set
MSPI_CDRAM_PCS (peripheral chip select) with spi master for MSPI
controller and not for MSPI/BSPI spi-nor master controller. Ensure
setting of cs bit in chip select register on chip select change.
Fixes: fa236a7ef24048 ("spi: bcm-qspi: Add Broadcom MSPI 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>
Diffstat (limited to 'drivers/spi/spi-cavium.h')
0 files changed, 0 insertions, 0 deletions