Skip to content
Commit 6d6018fc authored by Madhuparna Bhowmik's avatar Madhuparna Bhowmik Committed by Vinod Koul
Browse files

drivers/dma/dma-jz4780: Fix race condition between probe and irq handler



In probe, IRQ is requested before zchan->id is initialized which can be
read in the irq handler. Hence, shift request irq after other initializations
complete.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Reviewed-by: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200821034423.12713-1-madhuparnabhowmik10@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 05655541
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