edma3: PRSDK-3579: Clean up static analysis error in UART/SPI LLD caused by edma3 LLD
authorHao Zhang <hzhang@ti.com>
Fri, 23 Feb 2018 14:22:12 +0000 (09:22 -0500)
committerHao Zhang <hzhang@ti.com>
Fri, 23 Feb 2018 14:22:12 +0000 (09:22 -0500)
commitdce5a71ee3c71e3c0b57b1b108d698956b761eb6
tree7982239f4611c5f92f7e057e385b4fb9fd9bf79e
parent7c22a41159efedf13ad9ff448db554658f4877ee
edma3: PRSDK-3579: Clean up static analysis error in UART/SPI LLD caused by edma3 LLD

dmaChannelHwEvtMap is an array of size 2, lCh should be checked before
referencing drvObject->gblCfgParams.dmaChannelHwEvtMap[]

Signed-off-by: Hao Zhang <hzhang@ti.com>
packages/ti/sdo/edma3/drv/src/edma3_drv_basic.c