diff options
author | Lukas Wunner <lukas@wunner.de> | 2018-11-29 15:14:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-09 16:16:45 +0100 |
commit | 0b7a78688a4c51c2de363960de1afaa9d0f081e0 (patch) | |
tree | ef25d18bf7718a9fd62eaf4ff3ba3eb0308bb6f3 /lib/842/842_compress.c | |
parent | 7dd6d0d40f13da1c680fe4a8ea29e184d458cae7 (diff) | |
download | linux-stable-0b7a78688a4c51c2de363960de1afaa9d0f081e0.tar.gz linux-stable-0b7a78688a4c51c2de363960de1afaa9d0f081e0.tar.bz2 linux-stable-0b7a78688a4c51c2de363960de1afaa9d0f081e0.zip |
spi: bcm2835: Unbreak the build of esoteric configs
commit 29bdedfd9cf40e59456110ca417a8cb672ac9b92 upstream.
Commit e82b0b382845 ("spi: bcm2835: Fix race on DMA termination") broke
the build with COMPILE_TEST=y on arches whose cmpxchg() requires 32-bit
operands (xtensa, older arm ISAs).
Fix by changing the dma_pending flag's type from bool to unsigned int.
Fixes: e82b0b382845 ("spi: bcm2835: Fix race on DMA termination")
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
Cc: Martin Sperl <kernel@martin.sperl.org>
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/842/842_compress.c')
0 files changed, 0 insertions, 0 deletions