dmaengine: stm32-mdma: fix chan initialization in stm32_mdma_irq_handler()
authorAmelie Delaunay <amelie.delaunay@foss.st.com>
Wed, 4 May 2022 15:53:21 +0000 (17:53 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 19 May 2022 17:51:28 +0000 (23:21 +0530)
commitda3b8ddb464bd49b6248d00ca888ad751c9e44fd
tree343845e28be23c71a8c59ccab86bfd68afd24f57
parent9d6a2d92e450926c483e45eaf426080a19219f4e
dmaengine: stm32-mdma: fix chan initialization in stm32_mdma_irq_handler()

The parameter to pass back to the handler function when irq has been
requested is a struct stm32_mdma_device pointer, not a struct
stm32_mdma_chan pointer.
Even if chan is reinit later in the function, remove this wrong
initialization.

Fixes: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver")
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20220504155322.121431-3-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/stm32-mdma.c