ResMgr: Copy parameters and assert resource size only on success
authorFernando Guzman Lugo <fernando.lugo@ti.com>
Thu, 21 Jul 2011 23:19:38 +0000 (18:19 -0500)
committerSuman Anna <s-anna@ti.com>
Wed, 27 Jul 2011 22:43:09 +0000 (17:43 -0500)
commitaaba5cda14064f80d92cd1448ceeedd09ab8e2ec
tree97a22719fe0f10c115864025b89a72ad5d0a79ce
parent9216b7caab607e7e07daf44cb8a3f237748f806f
ResMgr: Copy parameters and assert resource size only on success

If the Host side failed to allocate the resource, the resource size
and the paramaters are not valid.

The function Ipc_Resource_translateError function is also renamed to
_IpcResource_translateError.

Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
src/ti/resmgr/IpcResource.c