summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2014-11-04 09:20:18 +0100
committerMark Brown <broonie@kernel.org>2014-11-04 10:52:08 +0000
commit5cc7b04740effa5cc0af53f434134b5859d58b73 (patch)
tree4336e6928bfa350d5c09065df21b7c5d27b5bb85 /ipc
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-stable-5cc7b04740effa5cc0af53f434134b5859d58b73.tar.gz
linux-stable-5cc7b04740effa5cc0af53f434134b5859d58b73.tar.bz2
linux-stable-5cc7b04740effa5cc0af53f434134b5859d58b73.zip
spi: fsl-dspi: Fix CTAR selection
There are only 4 CTAR registers (CTAR0 - CTAR3) so we can only use the lower 2 bits of the chip select to select a CTAR register. SPI_PUSHR_CTAS used the lower 3 bits which would result in wrong bit values if the chip selects 4/5 are used. For those chip selects SPI_CTAR even calculated offsets of non-existing registers. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions