Files
linux-stable-mirror/drivers
Lukas Wunner feb0be15ee spi: bcm2835: Unbreak the build of esoteric configs
commit 29bdedfd9c upstream.

Commit e82b0b3828 ("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: e82b0b3828 ("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>
2019-01-09 17:38:49 +01:00
..
…
…
…
…
…
…
…
…
2018-12-21 14:15:18 +01:00
…
…
2018-11-13 11:08:18 -08:00
…
2018-12-29 13:37:56 +01:00
…
…
…
…
2018-10-17 22:00:22 -07:00
…
…
2018-12-21 14:15:17 +01:00
…
…
…
…
…
…
2018-11-13 11:08:51 -08:00
2018-11-27 16:13:09 +01:00
…
…
…
…
…
…