dmaengine: dw-axi-dmac-starfive-misc: Fix incorrect parameters

The second parameter of wait_event_interruptible_timeout is not an address
pointer

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
This commit is contained in:
Samin Guo 2023-07-07 18:21:16 +08:00 committed by Justin Hammond
parent 783b5a8b84
commit 9afbac704d

View file

@ -190,7 +190,7 @@ static long axidma_unlocked_ioctl(struct file *file, unsigned int cmd,
}
wait_event_interruptible_timeout(wq,
&channels[chncfg.chn_num].status,
channels[chncfg.chn_num].status,
msecs_to_jiffies(DMA_MAX_TIMEOUT_MS));
#ifdef CONFIG_SOC_STARFIVE_VIC7100
/*flush dcache*/