diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2015-09-10 11:32:14 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-10 12:09:16 +0200 |
commit | 2a3fffd45822070309bcf0b1e1dae624d633824a (patch) | |
tree | fedfb018c3582f5996e9c83f7e382df8c4ee905a /drivers/spi/spi-pxa2xx.c | |
parent | Linux 4.2-rc1 (diff) | |
download | linux-2a3fffd45822070309bcf0b1e1dae624d633824a.tar.xz linux-2a3fffd45822070309bcf0b1e1dae624d633824a.zip |
spi: bcm2835: BUG: fix wrong use of PAGE_MASK
There is a bug in the alignment checking of transfers,
that results in DMA not being used for un-aligned
transfers that do not cross page-boundries, which is valid.
This is due to a missconception of the meaning PAGE_MASK
when implementing that check originally - (PAGE_SIZE - 1)
should have been used instead.
Also fixes a copy/paste error.
Reported-by: <robert@axium.co.nz>
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
0 files changed, 0 insertions, 0 deletions