diff options
author | Vignesh R <vigneshr@ti.com> | 2019-01-29 10:44:22 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-29 15:08:03 +0300 |
commit | 673c865efbdc5fec3cc525c46d71844d42c60072 (patch) | |
tree | 46c5539af920b73eefc584e85ae97a4c1a537363 /drivers/spi/spi-dw.c | |
parent | e902cdcb5112b89ee445588147964723fd69ffb4 (diff) | |
download | linux-673c865efbdc5fec3cc525c46d71844d42c60072.tar.xz |
spi: ti-qspi: Fix mmap read when more than one CS in use
Commit 4dea6c9b0b64 ("spi: spi-ti-qspi: add mmap mode read support") has
has got order of parameter wrong when calling regmap_update_bits() to
select CS for mmap access. Mask and value arguments are interchanged.
Code will work on a system with single slave, but fails when more than
one CS is in use. Fix this by correcting the order of parameters when
calling regmap_update_bits().
Fixes: 4dea6c9b0b64 ("spi: spi-ti-qspi: add mmap mode read support")
Cc: stable@vger.kernel.org
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.c')
0 files changed, 0 insertions, 0 deletions