summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c75019d)
raw | patch | inline | side by side (parent: c75019d)
[DSS M2M DRV]KW Fixes : Patch-2 release/CORESDK_07.03.00 REL.CORESDK.07.03.00.28 REL.CORESDK.07.03.00.29 REL.CORESDK.07.03.00.30 REL.CORESDK.07.03.00.31 REL.CORESDK.07.03.00.32 REL.CORESDK.07.03.00.33 REL.CORESDK.07.03.00.34 REL.CORESDK.07.03.00.35
author | Vivek Dhande <a0132295@ti.com> | |
Wed, 31 Mar 2021 07:35:47 +0000 (13:05 +0530) | ||
committer | Vivek Dhande <a0132295@ti.com> | |
Wed, 31 Mar 2021 07:35:47 +0000 (13:05 +0530) |
Signed-off-by: Vivek Dhande <a0132295@ti.com>
packages/ti/drv/dss/src/drv/m2m/dss_m2mApi.c | patch | blob | history |
diff --git a/packages/ti/drv/dss/src/drv/m2m/dss_m2mApi.c b/packages/ti/drv/dss/src/drv/m2m/dss_m2mApi.c
index aefff7181580bce6c68b108bbf7090d7b2aad2c4..61167eceb11258c974cbdc71f6ff30688d51f50c 100755 (executable)
{
semTimeout = timeout;
}
- if ((NULL != instObj->commonObjRef->lockSem) && (NULL != instObj))
+ if ((NULL != instObj) && (NULL != instObj->commonObjRef->lockSem))
{
/* Take the instance semaphore */
(void) SemaphoreP_pend(instObj->commonObjRef->lockSem, semTimeout);
}
}
- if ((NULL != instObj->commonObjRef->lockSem) && (NULL != instObj))
+ if ((NULL != instObj) && (NULL != instObj->commonObjRef->lockSem))
{
/* Post the instance semaphore */
(void) SemaphoreP_post(instObj->commonObjRef->lockSem);
{
semTimeout = timeout;
}
- if ((NULL != instObj->commonObjRef->lockSem) && (NULL != instObj))
+ if ((NULL != instObj) && (NULL != instObj->commonObjRef->lockSem))
{
/* Take the instance semaphore */
(void) SemaphoreP_pend(instObj->commonObjRef->lockSem, semTimeout);
}
}
- if ((inProcessList->numFrames == 0U) &&
- (outProcessList->numFrames == 0U) &&
- (retVal == FVID2_SOK))
+ if ((retVal == FVID2_SOK) &&
+ (inProcessList->numFrames == 0U) &&
+ (outProcessList->numFrames == 0U))
{
if ((virtContext->state == DSSM2M_DRV_STATE_CREATED) ||
(virtContext->state == DSSM2M_DRV_STATE_STOPPED))
}
}
- if ((NULL != instObj->commonObjRef->lockSem) && (NULL != instObj))
+ if ((NULL != instObj) && (NULL != instObj->commonObjRef->lockSem))
{
/* Post the instance semaphore */
(void) SemaphoreP_post(instObj->commonObjRef->lockSem);