Skip to content
Commit ab7add30 authored by Petr Kulhavy's avatar Petr Kulhavy Committed by Vinod Koul
Browse files

dmaengine: edma: fixed wrongly initialized data parameter to the edma callback



The "data" parameter passed indirectly to the edma_callback() should be
edma_chan and not the dma_chan.

This bug was so far harmless since the offset of struct dma_chan within struct
edma_chan is 0. However as soon as someone changes struct edma_chan this would
cause troubles.

Signed-off-by: default avatarPetr Kulhavy <petr@barix.com>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent de6b641e
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