diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2019-12-11 21:22:16 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-12-11 16:48:32 +0000 |
commit | c52c91bb9aa6bd8c38dbf9776158e33038aedd43 (patch) | |
tree | 79b8e4561191590b0f44f05384f7af2f97ff4454 /drivers/nvmem | |
parent | 3194d2533efffae8b815d84729ecc58b6a9000ab (diff) | |
download | linux-c52c91bb9aa6bd8c38dbf9776158e33038aedd43.tar.bz2 |
spi: spi-ti-qspi: Fix a bug when accessing non default CS
When switching ChipSelect from default CS0 to any other CS, driver fails
to update the bits in system control module register that control which
CS is mapped for MMIO access. This causes reads to fail when driver
tries to access QSPI flash on CS1/2/3.
Fix this by updating appropriate bits whenever active CS changes.
Reported-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20191211155216.30212-1-vigneshr@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions