diff options
author | Sundar Raman <sunds@ti.com> | 2011-08-29 16:30:34 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-08-30 09:36:21 -0700 |
commit | c8d3614fc9034131bc017ef875bfc860eec77a44 (patch) | |
tree | ee8cfbeb02837141f8b52d3d88c12bf0a02a0040 /domx/omx_proxy_common | |
parent | 6cd102a7a4c26e327acf4b0e16884b4f8f0bff91 (diff) | |
download | hardware_ti_omap4-c8d3614fc9034131bc017ef875bfc860eec77a44.zip hardware_ti_omap4-c8d3614fc9034131bc017ef875bfc860eec77a44.tar.gz hardware_ti_omap4-c8d3614fc9034131bc017ef875bfc860eec77a44.tar.bz2 |
Remove some non fatal error logs in Camera use-case
Change-Id: I3d0f40b68c2337e67271784c544db8979dcc0358
Signed-off-by: Sundar Raman <sunds@ti.com>
Diffstat (limited to 'domx/omx_proxy_common')
-rw-r--r-- | domx/omx_proxy_common/src/omx_proxy_common.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/domx/omx_proxy_common/src/omx_proxy_common.c b/domx/omx_proxy_common/src/omx_proxy_common.c index e2e36f2..e00a2d2 100644 --- a/domx/omx_proxy_common/src/omx_proxy_common.c +++ b/domx/omx_proxy_common/src/omx_proxy_common.c @@ -149,7 +149,7 @@ char Core_Array[][MAX_CORENAME_LENGTH] = { \ DOMX_DEBUG("Corresponding RPC function executed successfully"); \ eError = eCompReturn; \ - PROXY_assert(eError == OMX_ErrorNone, eError, "Error returned from OMX API in ducati"); \ + PROXY_assert((eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore), eError, "Error returned from OMX API in ducati"); \ } else \ { \ DOMX_ERROR("RPC function returned error 0x%x", eRPCError); \ @@ -178,7 +178,7 @@ char Core_Array[][MAX_CORENAME_LENGTH] = #ifdef USE_ION -RPC_OMX_ERRORTYPE RPC_RegisterBuffer(OMX_HANDLETYPE hRPCCtx, int fd, +RPC_OMX_ERRORTYPE RPC_RegisterBuffer(OMX_HANDLETYPE hRPCCtx, int fd, struct ion_handle **handle) { int status; @@ -193,7 +193,7 @@ RPC_OMX_ERRORTYPE RPC_RegisterBuffer(OMX_HANDLETYPE hRPCCtx, int fd, return RPC_OMX_ErrorNone; } -static OMX_ERRORTYPE PROXY_AllocateBufferIonCarveout(PROXY_COMPONENT_PRIVATE *pCompPrv, +static OMX_ERRORTYPE PROXY_AllocateBufferIonCarveout(PROXY_COMPONENT_PRIVATE *pCompPrv, size_t len, struct ion_handle **handle) { int fd; @@ -204,7 +204,7 @@ static OMX_ERRORTYPE PROXY_AllocateBufferIonCarveout(PROXY_COMPONENT_PRIVATE *pC DOMX_DEBUG("ION being USED for allocation!!!!! handle = %x, ret =%x",temp,ret); if (ret) return OMX_ErrorInsufficientResources; - /* + /* ret = ion_share(pCompPrv->ion_fd, temp, &fd); if (ret) { ion_free(pCompPrv->ion_fd, temp); @@ -2015,7 +2015,7 @@ OMX_ERRORTYPE OMX_ProxyCommonInit(OMX_HANDLETYPE hComponent) pCompPrv->ion_fd = ion_open(); if(pCompPrv->ion_fd == 0) - { + { DOMX_ERROR("ion_open failed!!!"); return OMX_ErrorInsufficientResources; } |