Skip to content
Commit ee36bb47 authored by Alexandru Tachici's avatar Alexandru Tachici Committed by Greg Kroah-Hartman
Browse files

spi: spi-bcm2835: Fix deadlock

[ Upstream commit c45c1e82

 ]

The bcm2835_spi_transfer_one function can create a deadlock
if it is called while another thread already has the
CCF lock.

Signed-off-by: default avatarAlexandru Tachici <alexandru.tachici@analog.com>
Fixes: f8043872

 ("spi: add driver for BCM2835")
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210716210245.13240-2-alexandru.tachici@analog.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 432738c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment