Skip to content
Commit aa3ee5f5 authored by Axel Lin's avatar Axel Lin Committed by Vinod Koul
Browse files

dmaengine: zxdma: Fix off-by-one for testing valid pchan request



The valid pchan range is 0 ~ d->dma_requests - 1.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarJun Nie <jun.nie@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 0be2136b
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