Skip to content
Commit 330ed4da authored by Franck Jullien's avatar Franck Jullien Committed by Vinod Koul
Browse files

dmaengine: vdma: don't crash when bad channel is requested



When client request a non existing channel from of_dma_xilinx_xlate
we get a NULL pointer dereferencing. This patch fix this problem.

Signed-off-by: default avatarFranck Jullien <franck.jullien@odyssee-systemes.fr>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent f55532a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment