-
Bug
-
Resolution: Fixed
-
Medium
-
PDK
-
PDK-13387
-
PROCESSOR_SDK_09.00.00
-
PROCESSOR_SDK_09.01.00
-
Description
The input argument error checking in Udma_rmGetSciclientDefaultBoardCfgRmRange() function has a typo.
if((UDMA_RM_SCI_REQ_TYPE_INVALID != req.type) && (UDMA_RM_SCI_REQ_SUBTYPE_INVALID != req.type))
The error check should be against the req.subtype.
Resolution Description
Updated checks to validate both type and subtype of resource.
Root Cause
All the resources IP is capable of providing maynot be available in
all the SoC's. UDMA RM marks these resources as invalid type/subtype.
Currently udma driver is not checking if subtype is invalid or not.