Madhuparna Bhowmik 6d6018fc30 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: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200821034423.12713-1-madhuparnabhowmik10@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-08-25 16:45:17 +05:30
..
2020-08-05 19:02:07 +05:30
2019-07-17 09:55:43 -07:00
2020-08-07 18:48:15 -07:00
2019-07-17 09:55:43 -07:00
2020-08-05 19:02:07 +05:30
2020-08-05 19:02:07 +05:30
2020-08-07 11:13:37 +05:30
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2020-01-27 10:55:50 -08:00